Skip to content

Commit 772e289

Browse files
committed
wan/pc300: 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. Acked-by: David S. Miller <davem@davemloft.net> Cc: netdev@vger.kernel.org Signed-off-by: Michal Marek <mmarek@suse.cz>
1 parent f1a7ee9 commit 772e289

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎drivers/net/wan/pc300_drv.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3242,8 +3242,7 @@ static inline void show_version(void)
32423242
rcsdate++;
32433243
tmp = strrchr(rcsdate, ' ');
32443244
*tmp = '\0';
3245-
printk(KERN_INFO "Cyclades-PC300 driver %s %s (built %s %s)\n",
3246-
rcsvers, rcsdate, __DATE__, __TIME__);
3245+
printk(KERN_INFO "Cyclades-PC300 driver %s %s\n", rcsvers, rcsdate);
32473246
} /* show_version */
32483247

32493248
static const struct net_device_ops cpc_netdev_ops = {

0 commit comments

Comments
 (0)