lkml.org 
[lkml]   [2019]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 3/4] cdrom: remove REVISION/VERSION constants that are awfully out of date.
Date
This driver changed significantly since 2003, there's no point in it pretending to still be that.

Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.com>
---
drivers/cdrom/cdrom.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c
index ec1267d0a5c0..732aa7115ebd 100644
--- a/drivers/cdrom/cdrom.c
+++ b/drivers/cdrom/cdrom.c
@@ -244,9 +244,6 @@

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

-#define REVISION "Revision: 3.20"
-#define VERSION "Id: cdrom.c 3.20 2003/12/17"
-
#include <linux/atomic.h>
#include <linux/module.h>
#include <linux/fs.h>
@@ -559,7 +556,7 @@ int register_cdrom(struct cdrom_device_info *cdi)
if (cdo->open == NULL || cdo->release == NULL)
return -EINVAL;
if (!banner_printed) {
- pr_info("Uniform CD-ROM driver " REVISION "\n");
+ pr_info("Uniform CD-ROM driver\n");
banner_printed = 1;
cdrom_sysctl_register();
}
@@ -3374,7 +3371,7 @@ static int cdrom_sysctl_info(struct ctl_table *ctl, int write,

mutex_lock(&cdrom_mutex);

- pos = sprintf(info, "CD-ROM information, " VERSION "\n");
+ pos = sprintf(info, "CD-ROM information\n");

if (cdrom_print_info("\ndrive name:\t", 0, info, &pos, CTL_NAME))
goto done;
--
2.22.0
\
 
 \ /
  Last update: 2019-08-26 17:18    [W:0.048 / U:6.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site