From: Tomas Winkler Date: Wed, 9 Nov 2011 11:26:37 +0000 (-0300) Subject: [media] easycap: use usb_kill_urb wrapper functions X-Git-Tag: v3.3-rc1~48^2~512 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b1fad2f046fb825046fee3a41885a70123de988;p=pandora-kernel.git [media] easycap: use usb_kill_urb wrapper functions 1. kill_video_usb can be used in all places where video urbs are killed and reduce code repetition 2. remove unnecessary check for easycap == NULL in the function as it is always checked by the calling function 3. rename the function to easycap_video_kill_urb to reduce possibility of name conflict 4. implement also easycap_audio_kill_urb 5. simplify freeing urbs Signed-off-by: Tomas Winkler Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed