ALSA: hda: Delete an unnecessary check before the function call "kobject_put"
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 8 Jul 2015 19:26:02 +0000 (21:26 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 9 Jul 2015 12:20:27 +0000 (14:20 +0200)
The kobject_put() function tests whether its argument is NULL and then
returns immediately. Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found