Staging: bcm: Remove initialization from if statement in Transmit.c

This patch Remove initialization from
if statement in Transmit.c as reported
by checkpatch.pl.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Kevin McKinney 2012-09-13 21:11:36 -04:00 committed by Greg Kroah-Hartman
parent 97e0a509d9
commit d5873d3817
1 changed files with 2 additions and 1 deletions

View File

@ -123,7 +123,8 @@ INT SetupNextSend(struct bcm_mini_adapter *Adapter, struct sk_buff *Packet, USH
if (Adapter->PackInfo[QueueIndex].bEthCSSupport) {
Leader.PLength = Packet->len;
if (skb_headroom(Packet) < LEADER_SIZE) {
if ((status = skb_cow(Packet, LEADER_SIZE))) {
status = skb_cow(Packet, LEADER_SIZE);
if (status) {
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, NEXT_SEND, DBG_LVL_ALL, "bcm_transmit : Failed To Increase headRoom\n");
goto errExit;
}