Skip to content

Commit bbcb284

Browse files
321lipengdavem330
authored andcommitted
net: pci200syn: remove redundant blank lines
This patch removes some redundant blank lines. Signed-off-by: Peng Li <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 5938b22 commit bbcb284

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

drivers/net/wan/pci200syn.c

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ typedef struct {
5858
u32 init_ctrl; /* 50h : EEPROM ctrl, Init Ctrl, etc */
5959
}plx9052;
6060

61-
62-
6361
typedef struct port_s {
6462
struct napi_struct napi;
6563
struct net_device *netdev;
@@ -76,8 +74,6 @@ typedef struct port_s {
7674
u8 chan; /* physical port # - 0 or 1 */
7775
}port_t;
7876

79-
80-
8177
typedef struct card_s {
8278
u8 __iomem *rambase; /* buffer memory base (virtual) */
8379
u8 __iomem *scabase; /* SCA memory base (virtual) */
@@ -90,7 +86,6 @@ typedef struct card_s {
9086
port_t ports[2];
9187
}card_t;
9288

93-
9489
#define get_port(card, port) (&card->ports[port])
9590
#define sca_flush(card) (sca_in(IER0, card))
9691

@@ -112,7 +107,6 @@ static inline void new_memcpy_toio(char __iomem *dest, char *src, int length)
112107

113108
#include "hd64572.c"
114109

115-
116110
static void pci200_set_iface(port_t *port)
117111
{
118112
card_t *card = port->card;
@@ -151,8 +145,6 @@ static void pci200_set_iface(port_t *port)
151145
sca_set_port(port);
152146
}
153147

154-
155-
156148
static int pci200_open(struct net_device *dev)
157149
{
158150
port_t *port = dev_to_port(dev);
@@ -167,8 +159,6 @@ static int pci200_open(struct net_device *dev)
167159
return 0;
168160
}
169161

170-
171-
172162
static int pci200_close(struct net_device *dev)
173163
{
174164
sca_close(dev);
@@ -177,8 +167,6 @@ static int pci200_close(struct net_device *dev)
177167
return 0;
178168
}
179169

180-
181-
182170
static int pci200_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
183171
{
184172
const size_t size = sizeof(sync_serial_settings);
@@ -233,8 +221,6 @@ static int pci200_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
233221
}
234222
}
235223

236-
237-
238224
static void pci200_pci_remove_one(struct pci_dev *pdev)
239225
{
240226
int i;
@@ -407,23 +393,19 @@ static int pci200_pci_init_one(struct pci_dev *pdev,
407393
return 0;
408394
}
409395

410-
411-
412396
static const struct pci_device_id pci200_pci_tbl[] = {
413397
{ PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9050, PCI_VENDOR_ID_PLX,
414398
PCI_DEVICE_ID_PLX_PCI200SYN, 0, 0, 0 },
415399
{ 0, }
416400
};
417401

418-
419402
static struct pci_driver pci200_pci_driver = {
420403
.name = "PCI200SYN",
421404
.id_table = pci200_pci_tbl,
422405
.probe = pci200_pci_init_one,
423406
.remove = pci200_pci_remove_one,
424407
};
425408

426-
427409
static int __init pci200_init_module(void)
428410
{
429411
if (pci_clock_freq < 1000000 || pci_clock_freq > 80000000) {
@@ -433,8 +415,6 @@ static int __init pci200_init_module(void)
433415
return pci_register_driver(&pci200_pci_driver);
434416
}
435417

436-
437-
438418
static void __exit pci200_cleanup_module(void)
439419
{
440420
pci_unregister_driver(&pci200_pci_driver);

0 commit comments

Comments
 (0)