From: Dan Carpenter Date: Sun, 28 Jul 2013 20:27:38 +0000 (+0300) Subject: ALSA: usx2y: remove an unneeded check X-Git-Tag: v3.12-rc1~150^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85054b2153f18eac16df9ff88913c98adea6a23e;p=pandora-kernel.git ALSA: usx2y: remove an unneeded check The test here is always true because S[i].urb is an array not a pointer. Also it's bogus because the intent was to test: if (S->urb[i]) { instead of: if (S[i].urb) { Anyway, usb_kill_urb() and usb_free_urb() accept NULL pointers so we can just remove this. Signed-off-by: Dan Carpenter Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed