diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-04-10 04:35:29 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-10 12:01:14 -0400 |
commit | 59d59b0600e541b4e94b891148c92f2e2d18f7c0 (patch) | |
tree | 9f05e18195af2620acc3fb838d04479a097e0852 /drivers/isdn | |
parent | c56a00a165712fd73081f40044b1e64407bb1875 (diff) |
ISDN: remove uses of isdn_tty_revision
Commit "ISDN: i4l, remove cvs crap" removed definition of
isdn_tty_revision, but there is still a user. So this causes linking
errors. This was hidden from my radar because the variable was not
declared in any header. Instead isdn_common.c declares it locally.
So remove this variable also from isdn_common.c, because there is
really no way to find out the version. Git commit or tag is...
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Karsten Keil <isdn@linux-pingi.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/i4l/isdn_common.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/isdn/i4l/isdn_common.c b/drivers/isdn/i4l/isdn_common.c index 2ffa0b733327..8c610fa6782b 100644 --- a/drivers/isdn/i4l/isdn_common.c +++ b/drivers/isdn/i4l/isdn_common.c | |||
@@ -46,7 +46,6 @@ static DEFINE_MUTEX(isdn_mutex); | |||
46 | static char *isdn_revision = "$Revision: 1.1.2.3 $"; | 46 | static char *isdn_revision = "$Revision: 1.1.2.3 $"; |
47 | 47 | ||
48 | extern char *isdn_net_revision; | 48 | extern char *isdn_net_revision; |
49 | extern char *isdn_tty_revision; | ||
50 | #ifdef CONFIG_ISDN_PPP | 49 | #ifdef CONFIG_ISDN_PPP |
51 | extern char *isdn_ppp_revision; | 50 | extern char *isdn_ppp_revision; |
52 | #else | 51 | #else |
@@ -2351,8 +2350,6 @@ static int __init isdn_init(void) | |||
2351 | 2350 | ||
2352 | strcpy(tmprev, isdn_revision); | 2351 | strcpy(tmprev, isdn_revision); |
2353 | printk(KERN_NOTICE "ISDN subsystem Rev: %s/", isdn_getrev(tmprev)); | 2352 | printk(KERN_NOTICE "ISDN subsystem Rev: %s/", isdn_getrev(tmprev)); |
2354 | strcpy(tmprev, isdn_tty_revision); | ||
2355 | printk("%s/", isdn_getrev(tmprev)); | ||
2356 | strcpy(tmprev, isdn_net_revision); | 2353 | strcpy(tmprev, isdn_net_revision); |
2357 | printk("%s/", isdn_getrev(tmprev)); | 2354 | printk("%s/", isdn_getrev(tmprev)); |
2358 | strcpy(tmprev, isdn_ppp_revision); | 2355 | strcpy(tmprev, isdn_ppp_revision); |