staging: ft1000: Remove unnecessary check in write_blk_fifo().
authorMarek Belisko <marek.belisko@open-nandra.com>
Tue, 8 Feb 2011 13:41:38 +0000 (14:41 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Feb 2011 22:55:51 +0000 (14:55 -0800)
commitbcd2d92e62254320d012c8e879d651eeaa350661
tree68db28e7ff5459bbda496fdd40a153683a5f2ec3
parent677aaa430669861f39bd43c02bdbc2e8f7f7ad2c
staging: ft1000: Remove unnecessary check in write_blk_fifo().

byte_length = word_length * 4;

if (byte_length % 4) ...

word_length * 4 is always aligned at 4 bytes. Remove pointless
check.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ft1000/ft1000-usb/ft1000_download.c