diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-09-17 23:19:33 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-23 15:58:10 +0100 |
commit | a19e160d108a80953e4404be39e03b9bc8417376 (patch) | |
tree | 02674f442c8e0670df813031a9591147f9c5dd97 /drivers/media/dvb-frontends/dibx000_common.c | |
parent | [media] stv090x: use lookup tables for carrier/noise ratio (diff) | |
download | linux-a19e160d108a80953e4404be39e03b9bc8417376.tar.xz linux-a19e160d108a80953e4404be39e03b9bc8417376.zip |
[media] dvb: remove unused systime() function
The systime function uses struct timespec, which we want to stop
using in the kernel because it overflows in 2038. Fortunately,
this use in dibx000_common is in a function that is never called,
so we can just remove it.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/dibx000_common.c')
-rw-r--r-- | drivers/media/dvb-frontends/dibx000_common.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/media/dvb-frontends/dibx000_common.c b/drivers/media/dvb-frontends/dibx000_common.c index 7db908ed87f6..bc28184c7fb0 100644 --- a/drivers/media/dvb-frontends/dibx000_common.c +++ b/drivers/media/dvb-frontends/dibx000_common.c @@ -502,16 +502,6 @@ void dibx000_exit_i2c_master(struct dibx000_i2c_master *mst) } EXPORT_SYMBOL(dibx000_exit_i2c_master); - -u32 systime(void) -{ - struct timespec t; - - t = current_kernel_time(); - return (t.tv_sec * 10000) + (t.tv_nsec / 100000); -} -EXPORT_SYMBOL(systime); - MODULE_AUTHOR("Patrick Boettcher <patrick.boettcher@posteo.de>"); MODULE_DESCRIPTION("Common function the DiBcom demodulator family"); MODULE_LICENSE("GPL"); |