]> err.no Git - linux-2.6/commit
Remove duplicated unlikely() in IS_ERR()
authorHirofumi Nakagawa <hnakagawa@miraclelinux.com>
Tue, 29 Apr 2008 08:03:09 +0000 (01:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:25 +0000 (08:06 -0700)
commit801678c5a3b4c79236970bcca27c733f5559e0d1
tree5ad4761f539525077895f261b64fccda4d1303c4
parent9a6f70bbed4e8b72dd340812d7c606bfd5e00b47
Remove duplicated unlikely() in IS_ERR()

Some drivers have duplicated unlikely() macros.  IS_ERR() already has
unlikely() in itself.

This patch cleans up such pointless code.

Signed-off-by: Hirofumi Nakagawa <hnakagawa@miraclelinux.com>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Jeff Garzik <jeff@garzik.org>
Cc: Paul Clements <paul.clements@steeleye.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Michael Halcrow <mhalcrow@us.ibm.com>
Cc: Anton Altaparmakov <aia21@cantab.net>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Carsten Otte <cotte@de.ibm.com>
Cc: Patrick McHardy <kaber@trash.net>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.de>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
17 files changed:
drivers/block/nbd.c
drivers/leds/led-class.c
drivers/message/i2o/i2o_block.c
drivers/net/myri10ge/myri10ge.c
drivers/net/tg3.c
drivers/rtc/rtc-bfin.c
drivers/scsi/scsi_scan.c
fs/aio.c
fs/ecryptfs/inode.c
fs/inotify_user.c
fs/ntfs/mft.c
kernel/auditfilter.c
net/core/dev.c
net/ipv4/af_inet.c
net/netfilter/nf_queue.c
net/xfrm/xfrm_output.c
sound/sh/aica.c