mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 23:53:55 +08:00
fm10k: TRIVIAL cleanup order at top of fm10k_xmit_frame
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Tested-by: Krishneil Singh <krishneil.k.singh@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
c7bc952349
commit
03d13a51fb
@ -1094,11 +1094,11 @@ dma_error:
|
||||
netdev_tx_t fm10k_xmit_frame_ring(struct sk_buff *skb,
|
||||
struct fm10k_ring *tx_ring)
|
||||
{
|
||||
struct fm10k_tx_buffer *first;
|
||||
int tso;
|
||||
u32 tx_flags = 0;
|
||||
unsigned short f;
|
||||
u16 count = TXD_USE_COUNT(skb_headlen(skb));
|
||||
struct fm10k_tx_buffer *first;
|
||||
unsigned short f;
|
||||
u32 tx_flags = 0;
|
||||
int tso;
|
||||
|
||||
/* need: 1 descriptor per page * PAGE_SIZE/FM10K_MAX_DATA_PER_TXD,
|
||||
* + 1 desc for skb_headlen/FM10K_MAX_DATA_PER_TXD,
|
||||
|
Loading…
Reference in New Issue
Block a user