]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
staging: ks7010: remove redundant check
authorTobin C. Harding <me@tobin.cc>
Wed, 22 Mar 2017 02:06:26 +0000 (13:06 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Mar 2017 13:27:23 +0000 (14:27 +0100)
commit6ad6e21bd4e4edd1a3f59dc74b5f238455c05e71
treef3b3102dafe7595c4faaa495ac552b091d7e15b5
parent61082bf69662ccd32c2d9de911fc3b9d1d1adeb1
staging: ks7010: remove redundant check

Function checks for condition inside a loop that checks the same
condition, this is redundant. Fix also removes checkpatch CHECK.

Remove redundant check.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c