Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Feb 2009 22:59:22 +0000 (UTC)
From:      Olivier Houchard <cognet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r188424 - head/sys/dev/sound/pci
Message-ID:  <200902092259.n19MxMfs074188@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cognet
Date: Mon Feb  9 22:59:22 2009
New Revision: 188424
URL: http://svn.freebsd.org/changeset/base/188424

Log:
  Hmm... "base? base : 0" and "base" should be equivalent.
  
  Pointy hat to:	cognet
  
  MFC after:	3 days

Modified:
  head/sys/dev/sound/pci/ds1.c

Modified: head/sys/dev/sound/pci/ds1.c
==============================================================================
--- head/sys/dev/sound/pci/ds1.c	Mon Feb  9 22:38:55 2009	(r188423)
+++ head/sys/dev/sound/pci/ds1.c	Mon Feb  9 22:59:22 2009	(r188424)
@@ -396,7 +396,7 @@ ds_initpbank(volatile struct pbank *pb, 
 	pb->Format |= b16? 0 : 0x80000000;
 	pb->Format |= (stereo && (ch == 2 || ch == 4))? 0x00000001 : 0;
 	pb->LoopDefault = 0;
-	pb->PgBase = base? base : 0;
+	pb->PgBase = base;
 	pb->PgLoop = 0;
 	pb->PgLoopEnd = len >> ss;
 	pb->PgLoopFrac = 0;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902092259.n19MxMfs074188>