]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: most: remove always true comparison
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Fri, 4 Sep 2015 10:52:02 +0000 (16:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:43 +0000 (18:24 -0700)
commitb0183053e31a51f7814b5ea257db010b924b3857
tree0f09727512477037c495c703f29e701b2e4aef94
parent4629385e6a4c8f092555c45eea21f1d24887071b
staging: most: remove always true comparison

channel->dev has already been checked for NULL and if it was NULL then
we have returned with -EPIPE. So at this point it can not be NULL.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/aim-cdev/cdev.c