tx4939ide: typo fix and minor cleanup
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Mon, 2 Feb 2009 19:12:23 +0000 (20:12 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 2 Feb 2009 19:12:23 +0000 (20:12 +0100)
commit9711a53721616b0f4c5f21c5811e5c4ef82be46f
tree5e4d20d03aba57f7f90552c98797ebffbd6d3195
parenta77dcc437c1c3bc73887ecac8a304e4adcabb9b7
tx4939ide: typo fix and minor cleanup

The bcount is greater than 0 and less than or equal to 0x10000.
Thus '(bcount & 0xffff) == 0x0000' can be simplified as 'bcount == 0x10000'.

Suggested-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/tx4939ide.c