commit | 9fdc723abf50e3317387f712c5c1b70f86ac0d74 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Oct 09 12:59:39 2014 +0300 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Oct 27 14:16:14 2014 -0400 |
tree | ef38ff6da94a4a953ae7ec33159a1e26866fe208 | |
parent | 2aa01652cf85f3e5885b173a2f4c53080046c6e0 [diff] |
ipw2x00: clean up a condition The original condition was "(PAGE_SIZE - len)" when "(len < PAGE_SIZE)" is intended. This condition is not really sufficient, but also not really needed... If "len > PAGE_SIZE" then it we will print a warning message in dmesg but there are no other effects. Maybe we should just remove the condition? Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>