projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
028816b
)
V4L/DVB: opera1: remove unneeded NULL check
author
Dan Carpenter
<error27@gmail.com>
Thu, 19 Aug 2010 09:47:50 +0000
(06:47 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Tue, 28 Sep 2010 01:21:47 +0000
(22:21 -0300)
"fw" is always a non-NULL pointer at this point, and anyway
release_firmware() accepts NULL pointers.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/opera1.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/dvb-usb/opera1.c
b/drivers/media/dvb/dvb-usb/opera1.c
index 6b22ec64ab0cc69d7124bc16421309d3e9c070cd..f896337b453518e603419beedd5093a9a5f1fb16 100644
(file)
--- a/
drivers/media/dvb/dvb-usb/opera1.c
+++ b/
drivers/media/dvb/dvb-usb/opera1.c
@@
-483,9
+483,7
@@
static int opera1_xilinx_load_firmware(struct usb_device *dev,
}
}
kfree(p);
- if (fw) {
- release_firmware(fw);
- }
+ release_firmware(fw);
return ret;
}