summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/drxd_hard.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-03-25 10:54:03 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-05-20 07:26:25 -0300
commit7fc7356f4eafa953197e1c4e2d236e199a51db28 (patch)
treedcf4a62daaa0635626d35e8ca96c3416089a6852 /drivers/media/dvb/frontends/drxd_hard.c
parentbccd2d8a39a65b008e5af96404139c2260a42fc7 (diff)
[media] drxd: Fix some CodingStyle issues
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/drxd_hard.c')
-rw-r--r--drivers/media/dvb/frontends/drxd_hard.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/drxd_hard.c b/drivers/media/dvb/frontends/drxd_hard.c
index ed6c529946d..e4440af31cd 100644
--- a/drivers/media/dvb/frontends/drxd_hard.c
+++ b/drivers/media/dvb/frontends/drxd_hard.c
@@ -2782,12 +2782,8 @@ struct dvb_frontend *drxd_attach(const struct drxd_config *config,
if (Read16(state, 0, 0, 0) < 0)
goto error;
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
- state->frontend.ops = &state->ops;
-#else
memcpy(&state->frontend.ops, &drxd_ops,
sizeof(struct dvb_frontend_ops));
-#endif
state->frontend.demodulator_priv = state;
ConfigureMPEGOutput(state, 0);
return &state->frontend;