We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50da74e commit af3077aCopy full SHA for af3077a
drivers/net/wireless/intel/iwlegacy/4965-mac.c
@@ -4231,8 +4231,6 @@ il4965_rx_handle(struct il_priv *il)
4231
fill_rx = 1;
4232
4233
while (i != r) {
4234
- int len;
4235
-
4236
rxb = rxq->queue[i];
4237
4238
/* If an RXB doesn't have a Rx queue slot associated with it,
@@ -4246,10 +4244,6 @@ il4965_rx_handle(struct il_priv *il)
4246
4244
PAGE_SIZE << il->hw_params.rx_page_order,
4247
4245
DMA_FROM_DEVICE);
4248
pkt = rxb_addr(rxb);
4249
4250
- len = le32_to_cpu(pkt->len_n_flags) & IL_RX_FRAME_SIZE_MSK;
4251
- len += sizeof(u32); /* account for status word */
4252
4253
reclaim = il_need_reclaim(il, pkt);
4254
4255
/* Based on type of command response or notification,
0 commit comments