File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
drivers/net/ethernet/cadence Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1988,14 +1988,14 @@ static unsigned int macb_tx_map(struct macb *bp,
19881988 struct sk_buff * skb ,
19891989 unsigned int hdrlen )
19901990{
1991- dma_addr_t mapping ;
1991+ unsigned int f , nr_frags = skb_shinfo ( skb ) -> nr_frags ;
19921992 unsigned int len , i , tx_head = queue -> tx_head ;
1993+ u32 ctrl , lso_ctrl = 0 , seq_ctrl = 0 ;
1994+ unsigned int eof = 1 , mss_mfs = 0 ;
19931995 struct macb_tx_skb * tx_skb = NULL ;
19941996 struct macb_dma_desc * desc ;
19951997 unsigned int offset , size ;
1996- unsigned int f , nr_frags = skb_shinfo (skb )-> nr_frags ;
1997- unsigned int eof = 1 , mss_mfs = 0 ;
1998- u32 ctrl , lso_ctrl = 0 , seq_ctrl = 0 ;
1998+ dma_addr_t mapping ;
19991999
20002000 /* LSO */
20012001 if (skb_shinfo (skb )-> gso_size != 0 ) {
You can’t perform that action at this time.
0 commit comments