summaryrefslogtreecommitdiffstats
path: root/drivers/isdn
diff options
context:
space:
mode:
authorChris Rankin <rankincj@yahoo.com>2011-08-20 08:28:17 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-09-03 20:50:00 -0300
commit6c03e38b34dcfcdfa2f10cf984995a48f030f039 (patch)
tree96d32284bbc7adc3e423c4a7df1ee6f51520c864 /drivers/isdn
parent38b61eb2dac06fdc42815b004e9824d8196cfcfb (diff)
downloadlinux-6c03e38b34dcfcdfa2f10cf984995a48f030f039.tar.bz2
[media] em28xx: clean up resources should init fail
This patch ensures that the em28xx_init_dev() function cleans up after itself, in the event that it fails. This isimportant because the struct em28xx will be deallocated if em28xx_init_dev() returns an error. [mchehab@redhat.com: Fix merge conflicts and simplify the goto labels] Signed-off-by: Chris Rankin <rankincj@yahoo.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions