Skip to content

Commit

Permalink
wan/pc300: Drop __TIME__ usage
Browse files Browse the repository at this point in the history
The kernel already prints its build timestamp during boot, no need to
repeat it in random drivers and produce different object files each
time.

Acked-by: David S. Miller <[email protected]>
Cc: [email protected]
Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
michal42 committed May 26, 2011
1 parent f1a7ee9 commit 772e289
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/net/wan/pc300_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -3242,8 +3242,7 @@ static inline void show_version(void)
rcsdate++;
tmp = strrchr(rcsdate, ' ');
*tmp = '\0';
printk(KERN_INFO "Cyclades-PC300 driver %s %s (built %s %s)\n",
rcsvers, rcsdate, __DATE__, __TIME__);
printk(KERN_INFO "Cyclades-PC300 driver %s %s\n", rcsvers, rcsdate);
} /* show_version */

static const struct net_device_ops cpc_netdev_ops = {
Expand Down

0 comments on commit 772e289

Please sign in to comment.