diff options
author | Jean Delvare <[email protected]> | 2012-03-13 13:50:37 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2012-03-19 19:17:58 -0300 |
commit | 3ef76759484832e498cba381aa1b24b90cf36a26 (patch) | |
tree | 2870943b0d8fad4f5e3521fad2f142779302f935 /lib/debugobjects.c | |
parent | 401a582f869d64a4a5c3fb03926ffa54920a168d (diff) |
[media] dib0700: Drop useless check when remote key is pressed
struct dvb_usb_device *d can never be NULL so don't waste time
checking for this.
Rationale: the urb's context is set when usb_fill_bulk_urb() is called
in dib0700_rc_setup(), and never changes after that. d is dereferenced
unconditionally in dib0700_rc_setup() so it can't be NULL or the
driver would crash right away.
Signed-off-by: Jean Delvare <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Devin Heitmueller <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions