File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 37
37
#include <linux/semaphore.h>
38
38
#include <linux/refcount.h>
39
39
40
- #define SIXPACK_VERSION "Revision: 0.3.0"
41
-
42
40
/* sixpack priority commands */
43
41
#define SIXP_SEOF 0x40 /* start and end of a 6pack frame */
44
42
#define SIXP_TX_URUN 0x48 /* transmit overrun */
@@ -745,21 +743,14 @@ static struct tty_ldisc_ops sp_ldisc = {
745
743
746
744
/* Initialize 6pack control device -- register 6pack line discipline */
747
745
748
- static const char msg_banner [] __initconst = KERN_INFO \
749
- "AX.25: 6pack driver, " SIXPACK_VERSION "\n" ;
750
- static const char msg_regfail [] __initconst = KERN_ERR \
751
- "6pack: can't register line discipline (err = %d)\n" ;
752
-
753
746
static int __init sixpack_init_driver (void )
754
747
{
755
748
int status ;
756
749
757
- printk (msg_banner );
758
-
759
750
/* Register the provided line protocol discipline */
760
751
status = tty_register_ldisc (& sp_ldisc );
761
752
if (status )
762
- printk ( msg_regfail , status );
753
+ pr_err ( "6pack: can't register line discipline (err = %d)\n" , status );
763
754
764
755
return status ;
765
756
}
You can’t perform that action at this time.
0 commit comments