OSDN Git Service

staging: most: aim-cdev: destroy ida struct in case of exception
authorChristian Gromm <christian.gromm@microchip.com>
Mon, 22 Aug 2016 14:46:24 +0000 (16:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Aug 2016 20:41:00 +0000 (16:41 -0400)
commit1d9e3a07cb80ca7c8f4efcfcc6c4ca10790d9645
treead3381405201c84e5834f66c09c39bcbd9f0051d
parent88b090e3c020bfeac13d5c52984a03775808cb67
staging: most: aim-cdev: destroy ida struct in case of exception

This patch is needed to clean up the initialized ida structure in case
the function exits with an exception.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/aim-cdev/cdev.c