]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: line6: Remove superfluous NULL checks in each driver
authorTakashi Iwai <tiwai@suse.de>
Tue, 20 Jan 2015 07:42:42 +0000 (08:42 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Jan 2015 06:19:37 +0000 (07:19 +0100)
commit97af53d60b57fedcd3424c0f0064c153e44ea6a0
tree89c8dd81edfc0148e3c5a5a54aa93892739e58db
parented4b55b19e06c3d9d4d2f7e66521d71edd956deb
ALSA: line6: Remove superfluous NULL checks in each driver

The interface and driver objects are always set when callbacks are
called.  Drop such superfluous NULL checks in init and disconnect
calls of each driver.

Tested-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/pod.c
sound/usb/line6/podhd.c
sound/usb/line6/toneport.c
sound/usb/line6/variax.c