summaryrefslogtreecommitdiff
path: root/drivers/dma/pch_dma.c
diff options
context:
space:
mode:
authorConley Lee <conleylee@foxmail.com>2021-12-14 17:11:06 +0800
committerDavid S. Miller <davem@davemloft.net>2021-12-15 10:29:03 +0000
commit3899c928bccc5068405cd0e9a3a8fea67b097e9e (patch)
treec170b917ed5c8068df36eac0afa84ee8b867c3a9 /drivers/dma/pch_dma.c
parent34ac17ecbf575eb079094d44f1bd30c66897aa21 (diff)
sun4i-emac.c: remove unnecessary branch
According to the current implementation of emac_rx, every arrived packet will be processed in the while loop. So, there is no remain packet last time. The skb_last field and this branch for dealing with it is unnecessary. Signed-off-by: Conley Lee <conleylee@foxmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/dma/pch_dma.c')
0 files changed, 0 insertions, 0 deletions