Commit 8ccac4a5 authored by Peng Li's avatar Peng Li Committed by David S. Miller

net: farsync: remove redundant initialization for statics

Should not initialise statics to 0.
Signed-off-by: default avatarPeng Li <lipeng321@huawei.com>
Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 40996bcf
...@@ -76,7 +76,7 @@ MODULE_LICENSE("GPL"); ...@@ -76,7 +76,7 @@ MODULE_LICENSE("GPL");
static int fst_txq_low = FST_LOW_WATER_MARK; static int fst_txq_low = FST_LOW_WATER_MARK;
static int fst_txq_high = FST_HIGH_WATER_MARK; static int fst_txq_high = FST_HIGH_WATER_MARK;
static int fst_max_reads = 7; static int fst_max_reads = 7;
static int fst_excluded_cards = 0; static int fst_excluded_cards;
static int fst_excluded_list[FST_MAX_CARDS]; static int fst_excluded_list[FST_MAX_CARDS];
module_param(fst_txq_low, int, 0); module_param(fst_txq_low, int, 0);
...@@ -2401,7 +2401,7 @@ static const struct net_device_ops fst_ops = { ...@@ -2401,7 +2401,7 @@ static const struct net_device_ops fst_ops = {
static int static int
fst_add_one(struct pci_dev *pdev, const struct pci_device_id *ent) fst_add_one(struct pci_dev *pdev, const struct pci_device_id *ent)
{ {
static int no_of_cards_added = 0; static int no_of_cards_added;
struct fst_card_info *card; struct fst_card_info *card;
int err = 0; int err = 0;
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment