Skip to content

Commit

Permalink
drivers:usb:f_ncm.c: fix -Wunused-variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ghazzor committed Jun 7, 2024
1 parent 505a1d6 commit 17fce26
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/usb/gadget/function/f_ncm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,6 @@ static int ncm_unwrap_ntb(struct gether *port,
struct sk_buff *skb2;
int ret = -EINVAL;
unsigned ntb_max = le32_to_cpu(ntb_parameters.dwNtbOutMaxSize);
unsigned frame_max = le16_to_cpu(ecm_desc.wMaxSegmentSize);
const struct ndp_parser_opts *opts = ncm->parser_opts;
unsigned crc_len = ncm->is_crc ? sizeof(uint32_t) : 0;
int dgram_counter;
Expand Down

0 comments on commit 17fce26

Please sign in to comment.