Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2009 15:26:28 +0000 (UTC)
From:      Olivier Houchard <cognet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-6@freebsd.org
Subject:   svn commit: r188519 - stable/6/sys/dev/sound/pci
Message-ID:  <200902121526.n1CFQS2M059496@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cognet
Date: Thu Feb 12 15:26:27 2009
New Revision: 188519
URL: http://svn.freebsd.org/changeset/base/188519

Log:
  MFC:
  r188424 | cognet | 2009-02-09 23:59:22 +0100 (Mon, 09 Feb 2009) | 6 lines
  
  Hmm... "base? base : 0" and "base" should be equivalent.

Modified:
  stable/6/sys/dev/sound/pci/ds1.c

Modified: stable/6/sys/dev/sound/pci/ds1.c
==============================================================================
--- stable/6/sys/dev/sound/pci/ds1.c	Thu Feb 12 15:26:00 2009	(r188518)
+++ stable/6/sys/dev/sound/pci/ds1.c	Thu Feb 12 15:26:27 2009	(r188519)
@@ -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?200902121526.n1CFQS2M059496>