]> err.no Git - linux-2.6/commit
serverworks: remove crappy code
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 8 Jun 2007 13:14:27 +0000 (15:14 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 8 Jun 2007 13:14:27 +0000 (15:14 +0200)
commited84fad5002c00dfb318f797dbf591320eebc1c0
tree1580bc3067f9d4362431206eee3e74bdd8c8db33
parent85f6038f2170e3335dda09c3dfb0f83110e87019
serverworks: remove crappy code

Remove crappy code noticed by Linus, see

http://lkml.org/lkml/2007/5/23/476

for details.

While at it simplify logic a bit.

There should be no functionality changes caused by this patch.

Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/serverworks.c