git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
drivers
/
media
/
dvb
/
frontends
/
dvb_dummy_fe.c
diff --git
a/drivers/media/dvb/frontends/dvb_dummy_fe.c
b/drivers/media/dvb/frontends/dvb_dummy_fe.c
index
cff93b9
..
645946a
100644
(file)
--- a/
drivers/media/dvb/frontends/dvb_dummy_fe.c
+++ b/
drivers/media/dvb/frontends/dvb_dummy_fe.c
@@
-22,6
+22,8
@@
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
+#include <linux/string.h>
+#include <linux/slab.h>
#include "dvb_frontend.h"
#include "dvb_dummy_fe.h"
#include "dvb_frontend.h"
#include "dvb_dummy_fe.h"
@@
-146,7
+148,7
@@
struct dvb_frontend* dvb_dummy_fe_qpsk_attach()
return &state->frontend;
error:
return &state->frontend;
error:
-
if (state)
kfree(state);
+ kfree(state);
return NULL;
}
return NULL;
}
@@
-169,7
+171,7
@@
struct dvb_frontend* dvb_dummy_fe_qam_attach()
return &state->frontend;
error:
return &state->frontend;
error:
-
if (state)
kfree(state);
+ kfree(state);
return NULL;
}
return NULL;
}