aboutsummaryrefslogtreecommitdiff
path: root/net/unix/diag.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-04-16 18:50:12 -0400
committerDavid S. Miller <davem@davemloft.net>2018-04-16 18:50:12 -0400
commit5da8baa3be33e07856b62e0d60be409bef1d71da (patch)
treed504edca99a734932aa47646b27aa46e52c6c22b /net/unix/diag.c
parent309c446cb45f6663932c8e6d0754f4ac81d1b5cd (diff)
parent2c520b1c9cfa7d43fd251fa47bac6bd953ec8239 (diff)
Merge branch 'net-stmmac-Stop-using-hard-coded-callbacks'
Jose Abreu says: ==================== net: stmmac: Stop using hard-coded callbacks This a starting point for a cleanup and re-organization of stmmac. In this series we stop using hard-coded callbacks along the code and use instead helpers which are defined in a single place ("hwif.h"). This brings several advantages: 1) Less typing :) 2) Guaranteed function pointer check 3) More flexibility By 2) we stop using the repeated pattern of: if (priv->hw->mac->some_func) priv->hw->mac->some_func(...) I didn't check but I expect the final .ko will be bigger with this series because *all* of function pointers are checked. Anyway, I hope this can make the code more readable and more flexible now. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/diag.c')
0 files changed, 0 insertions, 0 deletions