* [PATCH net-next 0/2] net: dpaa: two minor cleanup
@ 2017-11-01 13:09 yuan linyu
2017-11-02 7:15 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: yuan linyu @ 2017-11-01 13:09 UTC (permalink / raw)
To: netdev; +Cc: David S . Miller, yuan linyu
From: yuan linyu <Linyu.Yuan@alcatel-sbell.com.cn>
original i try to remove duplicate code which clean allocated per-cpu area,
thanks to David S. Miller, there are two build warning as errors.
path 1: fix old code maybe-uninitialized warning.
path 2: remove duplicate code and fix unused var warning.
yuan linyu (2):
net: dpaa: fix maybe uninitialized var in dpaa_open()
net: dpaa: remove init which already done in per-cpu allocation
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
--
2.7.4
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-02 7:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-01 13:09 [PATCH net-next 0/2] net: dpaa: two minor cleanup yuan linyu
2017-11-02 7:15 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).