lkml.org 
[lkml]   [2016]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net-next 0/5] hv_netvsc: cleanup after untangling the pointer mess
Date
After we made traveling through our internal structures explicit it became
obvious that some functions take arguments they don't need just to do
redundant pointer travel and get to what they really need while their
callers already have the required information.

This is just a cleanup series with no functional changes intended. It
doesn't pretend to be complete, additional cleanup of other functions may
follow.

Vitaly Kuznetsov (5):
hv_netvsc: remove redundant assignment in netvsc_recv_callback()
hv_netvsc: introduce {net,hv}_device_to_netvsc_device() helpers
hv_netvsc: pass struct netvsc_device to rndis_filter_{open,close}()
hv_netvsc: pass struct net_device to rndis_filter_set_device_mac()
hv_netvsc: pass struct net_device to rndis_filter_set_offload_params()

drivers/net/hyperv/hyperv_net.h | 19 +++++++++++++++---
drivers/net/hyperv/netvsc.c | 11 +++-------
drivers/net/hyperv/netvsc_drv.c | 18 ++++++-----------
drivers/net/hyperv/rndis_filter.c | 42 ++++++++++++---------------------------
4 files changed, 38 insertions(+), 52 deletions(-)

--
2.5.5

\
 
 \ /
  Last update: 2016-05-23 18:01    [W:0.040 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site