diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-hdw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c index 2d5be5cfbccf..5d9045268cf5 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c +++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c | |||
@@ -2172,6 +2172,7 @@ static void pvr2_hdw_remove_usb_stuff(struct pvr2_hdw *hdw) | |||
2172 | /* Destroy hardware interaction structure */ | 2172 | /* Destroy hardware interaction structure */ |
2173 | void pvr2_hdw_destroy(struct pvr2_hdw *hdw) | 2173 | void pvr2_hdw_destroy(struct pvr2_hdw *hdw) |
2174 | { | 2174 | { |
2175 | if (!hdw) return; | ||
2175 | pvr2_trace(PVR2_TRACE_INIT,"pvr2_hdw_destroy: hdw=%p",hdw); | 2176 | pvr2_trace(PVR2_TRACE_INIT,"pvr2_hdw_destroy: hdw=%p",hdw); |
2176 | if (hdw->fw_buffer) { | 2177 | if (hdw->fw_buffer) { |
2177 | kfree(hdw->fw_buffer); | 2178 | kfree(hdw->fw_buffer); |