diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2014-11-24 18:32:30 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-11-25 13:44:34 -0200 |
commit | 6b281d830f09a4f58651839030b39571dea1b56d (patch) | |
tree | 978d84a55ea2358ce6efaf5161a8229302453946 /net/lapb/lapb_out.c | |
parent | 1cc6adfef42615478e9af1228377acbc9f54f00f (diff) |
[media] siano: unnecessary check before rc_unregister_device()
The rc_unregister_device() function tests whether its argument is NULL
and then returns immediately. Thus the test around the call
is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions