projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'dm-4.3-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hid
/
hid-picolcd_cir.c
diff --git
a/drivers/hid/hid-picolcd_cir.c
b/drivers/hid/hid-picolcd_cir.c
index 045f8ebf16b53747746bf92c110f434ffdaff319..96286510f42e990eef1a0fd6a03abfd57fd42f57 100644
(file)
--- a/
drivers/hid/hid-picolcd_cir.c
+++ b/
drivers/hid/hid-picolcd_cir.c
@@
-145,7
+145,6
@@
void picolcd_exit_cir(struct picolcd_data *data)
struct rc_dev *rdev = data->rc_dev;
data->rc_dev = NULL;
- if (rdev)
- rc_unregister_device(rdev);
+ rc_unregister_device(rdev);
}