Message ID | 1622355874-18933-2-git-send-email-huangguangbin2@huawei.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 801f0a1cf96f314ed88b51a2ceb243952ab37e7c |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net: sealevel: clean up some code style issues | expand |
Context | Check | Description |
---|---|---|
netdev/cover_letter | success | Link |
netdev/fixes_present | success | Link |
netdev/patch_count | success | Link |
netdev/tree_selection | success | Clearly marked for net-next |
netdev/subject_prefix | success | Link |
netdev/cc_maintainers | success | CCed 5 of 5 maintainers |
netdev/source_inline | success | Was 0 now: 0 |
netdev/verify_signedoff | success | Link |
netdev/module_param | success | Was 0 now: 0 |
netdev/build_32bit | success | Errors and warnings before: 0 this patch: 0 |
netdev/kdoc | success | Errors and warnings before: 0 this patch: 0 |
netdev/verify_fixes | success | Link |
netdev/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 35 lines checked |
netdev/build_allmodconfig_warn | success | Errors and warnings before: 0 this patch: 0 |
netdev/header_inline | success | Link |
diff --git a/drivers/net/wan/sealevel.c b/drivers/net/wan/sealevel.c index 7dddc9dcbe23..62cc59892d1e 100644 --- a/drivers/net/wan/sealevel.c +++ b/drivers/net/wan/sealevel.c @@ -29,14 +29,12 @@ #include <asm/byteorder.h> #include "z85230.h" - struct slvl_device { struct z8530_channel *chan; int channel; }; - struct slvl_board { struct slvl_device dev[2]; @@ -195,7 +193,6 @@ static int slvl_setup(struct slvl_device *sv, int iobase, int irq) return 0; } - /* * Allocate and setup Sealevel board. */ @@ -256,7 +253,6 @@ static __init struct slvl_board *slvl_init(int iobase, int irq, outb(3 | (1 << 7), b->iobase + 4); - /* We want a fast IRQ for this device. Actually we'd like an even faster IRQ ;) - This is one driver RtLinux is made for */ @@ -351,7 +347,6 @@ static void __exit slvl_shutdown(struct slvl_board *b) kfree(b); } - static int io=0x238; static int txdma=1; static int rxdma=3;