mirror of https://gitee.com/openkylin/linux.git
rt2x00: 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. Signed-off-by: Michal Marek <mmarek@suse.cz> Acked-by: Ivo van Doorn <IvDoorn@gmail.com> Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> Cc: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
0321708748
commit
cebb28ba1e
|
@ -568,7 +568,6 @@ static struct dentry *rt2x00debug_create_file_driver(const char *name,
|
|||
blob->data = data;
|
||||
data += sprintf(data, "driver:\t%s\n", intf->rt2x00dev->ops->name);
|
||||
data += sprintf(data, "version:\t%s\n", DRV_VERSION);
|
||||
data += sprintf(data, "compiled:\t%s %s\n", __DATE__, __TIME__);
|
||||
blob->size = strlen(blob->data);
|
||||
|
||||
return debugfs_create_blob(name, S_IRUSR, intf->driver_folder, blob);
|
||||
|
|
Loading…
Reference in New Issue