diff options
author | Jiri Kosina <jkosina@suse.cz> | 2010-05-26 11:39:04 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-18 22:16:21 (GMT) |
commit | 5749df14aef6d3fd7146f17e4f0c61526a53766e (patch) | |
tree | 06f558caf322e523aa2a266afd66087864dd66e4 /drivers/staging/cxt1e1/pmc93x6_eeprom.c | |
parent | 41a38d9e632f7c9ec5ad8fc627567d97f4302c4a (diff) | |
download | linux-fsl-qoriq-5749df14aef6d3fd7146f17e4f0c61526a53766e.tar.xz |
Staging: cxt1e1: remove all code dependent on LINUX_VERSION_CODE
Remove all code which is dead for in-kernel driver due to being
ifdefed by LINUX_VERSION_CODE.
While at it, also remove surrounding code which is commented out,
or '#if 1' nops.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/cxt1e1/pmc93x6_eeprom.c')
-rw-r--r-- | drivers/staging/cxt1e1/pmc93x6_eeprom.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/cxt1e1/pmc93x6_eeprom.c b/drivers/staging/cxt1e1/pmc93x6_eeprom.c index 1c8dfb8..62b12fb 100644 --- a/drivers/staging/cxt1e1/pmc93x6_eeprom.c +++ b/drivers/staging/cxt1e1/pmc93x6_eeprom.c @@ -500,11 +500,7 @@ pmc_init_seeprom (u_int32_t addr, u_int32_t serialNum) time_t createTime; int i; -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) - createTime = CURRENT_TIME; -#else createTime = get_seconds (); -#endif /* use template data */ for (i = 0; i < sizeof (FLD_TYPE2); ++i) |