summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorariff <ariff@FreeBSD.org>2006-02-24 09:29:32 +0000
committerariff <ariff@FreeBSD.org>2006-02-24 09:29:32 +0000
commit53861c4ba971014515f0e26d5764687c9696d53d (patch)
treee65abf31dd8f51cfc103232db644ffcfcd597af6 /sys
parent59ae2faccd91f17ab74d868429b95e97a60e7acc (diff)
downloadFreeBSD-src-53861c4ba971014515f0e26d5764687c9696d53d.zip
FreeBSD-src-53861c4ba971014515f0e26d5764687c9696d53d.tar.gz
Trim unnecessary pointer alignment.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/sound/pci/atiixp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/atiixp.c b/sys/dev/sound/pci/atiixp.c
index 10036b0..a7af312 100644
--- a/sys/dev/sound/pci/atiixp.c
+++ b/sys/dev/sound/pci/atiixp.c
@@ -614,7 +614,7 @@ atiixp_chan_getptr(kobj_t obj, void *data)
}
#endif
- return (retry > 0) ? ptr & ~align : 0;
+ return (retry > 0) ? ptr : 0;
}
static struct pcmchan_caps *
OpenPOWER on IntegriCloud