diff options
author | Michal Marek <mmarek@suse.cz> | 2011-04-01 06:41:20 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-04-18 18:23:21 -0400 |
commit | 565502f8894739ce7b5fd131f39c930dc4351710 (patch) | |
tree | 7a1261732300ada3987a33711a2b6eaaf4b7d684 /drivers/scsi | |
parent | 4c315a5d57300db83d2eb7b8d5b6019e1fba99fc (diff) |
scsi/wd33c93: Drop __TIME__ usage
The kernel already prints its build timestamp during boot, no need to
repeat it in random drivers and produce different object files each
time.
Cc: "James E.J. Bottomley" <James.Bottomley@suse.de>
Cc: linux-scsi@vger.kernel.org
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/wd33c93.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/scsi/wd33c93.c b/drivers/scsi/wd33c93.c index 5f697e0bd009..6c983a2ffcbe 100644 --- a/drivers/scsi/wd33c93.c +++ b/drivers/scsi/wd33c93.c | |||
@@ -2052,8 +2052,7 @@ wd33c93_init(struct Scsi_Host *instance, const wd33c93_regs regs, | |||
2052 | for (i = 0; i < MAX_SETUP_ARGS; i++) | 2052 | for (i = 0; i < MAX_SETUP_ARGS; i++) |
2053 | printk("%s,", setup_args[i]); | 2053 | printk("%s,", setup_args[i]); |
2054 | printk("\n"); | 2054 | printk("\n"); |
2055 | printk(" Version %s - %s, Compiled %s at %s\n", | 2055 | printk(" Version %s - %s\n", WD33C93_VERSION, WD33C93_DATE); |
2056 | WD33C93_VERSION, WD33C93_DATE, __DATE__, __TIME__); | ||
2057 | } | 2056 | } |
2058 | 2057 | ||
2059 | int | 2058 | int |
@@ -2133,8 +2132,8 @@ wd33c93_proc_info(struct Scsi_Host *instance, char *buf, char **start, off_t off | |||
2133 | bp = buf; | 2132 | bp = buf; |
2134 | *bp = '\0'; | 2133 | *bp = '\0'; |
2135 | if (hd->proc & PR_VERSION) { | 2134 | if (hd->proc & PR_VERSION) { |
2136 | sprintf(tbuf, "\nVersion %s - %s. Compiled %s %s", | 2135 | sprintf(tbuf, "\nVersion %s - %s.", |
2137 | WD33C93_VERSION, WD33C93_DATE, __DATE__, __TIME__); | 2136 | WD33C93_VERSION, WD33C93_DATE); |
2138 | strcat(bp, tbuf); | 2137 | strcat(bp, tbuf); |
2139 | } | 2138 | } |
2140 | if (hd->proc & PR_INFO) { | 2139 | if (hd->proc & PR_INFO) { |