diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-07-17 05:39:58 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-17 16:23:19 -0400 |
commit | a6343afb6e16b65b9f0b264f94f8207212e7e3ae (patch) | |
tree | 038520431715be0dab295883ba994b7854202c71 /drivers/net/r8169.c | |
parent | b1734d2388cc45ecdec58615e35955d0d402f938 (diff) |
drivers/*: mark variables with uninitialized_var()
Mark variables in drivers/* with uninitialized_var() if such a warning
appears, and analysis proves that the var is initialized properly on all
paths it is used.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/r8169.c')
-rw-r--r-- | drivers/net/r8169.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index 982a9010c7a9..bb6896ae3151 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c | |||
@@ -2338,7 +2338,7 @@ static int rtl8169_xmit_frags(struct rtl8169_private *tp, struct sk_buff *skb, | |||
2338 | { | 2338 | { |
2339 | struct skb_shared_info *info = skb_shinfo(skb); | 2339 | struct skb_shared_info *info = skb_shinfo(skb); |
2340 | unsigned int cur_frag, entry; | 2340 | unsigned int cur_frag, entry; |
2341 | struct TxDesc *txd; | 2341 | struct TxDesc * uninitialized_var(txd); |
2342 | 2342 | ||
2343 | entry = tp->cur_tx; | 2343 | entry = tp->cur_tx; |
2344 | for (cur_frag = 0; cur_frag < info->nr_frags; cur_frag++) { | 2344 | for (cur_frag = 0; cur_frag < info->nr_frags; cur_frag++) { |