[PATCH] Remove duplicated unlikely() in IS_ERR()

Mike Frysinger vapier.adi at gmail.com
Mon Aug 18 19:10:21 EDT 2008


On Fri, Aug 15, 2008 at 3:16 AM, Hirofumi Nakagawa wrote:
> Some drivers have duplicated unlikely() macros.
> IS_ERR() already has unlikely() in itself.
> This patch cleans up such pointless codes although there is no real
> effect on the kernel's behaviour.

sounds like a good check to add to checkpatch.pl ...
-mike



More information about the linux-mtd mailing list