]> git.karo-electronics.de Git - karo-tx-linux.git/commit
greybus: manifest: don't need to check for desc_size == 0 anymore
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 24 Mar 2015 11:38:14 +0000 (17:08 +0530)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 24 Mar 2015 19:59:03 +0000 (20:59 +0100)
commit13fe6a9af3d86019a10bdbd3195434e5a795b3b3
tree5c4ea0f70a0de00e9addc16fcb2ea99a01018887
parent19b3b2c2aeb7e1e787a65936ada0dabc229620ea
greybus: manifest: don't need to check for desc_size == 0 anymore

identify_descriptor() doesn't return 0 anymore and so we don't need to check the
returned value against 0.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/manifest.c