From: Jean Delvare Date: Tue, 13 Mar 2012 16:50:37 +0000 (-0300) Subject: [media] dib0700: Drop useless check when remote key is pressed X-Git-Tag: v3.4-rc1~110^2^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ef76759484832e498cba381aa1b24b90cf36a26;p=pandora-kernel.git [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 Cc: Mauro Carvalho Chehab Cc: Devin Heitmueller Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed