summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2018-07-28 08:35:56 +0300
committerDavid S. Miller <davem@davemloft.net>2018-07-29 23:15:57 +0300
commit2d14ba7228b0c2e43e97bd37be8bcf3b71725fff (patch)
treec851cd92e048151957aa4e17f13f2cbfb6a0446a /net/unix/af_unix.c
parent6c21da204a90ceca73096bf1b91c4fdf43308c16 (diff)
downloadlinux-2d14ba7228b0c2e43e97bd37be8bcf3b71725fff.tar.xz
net-next: mediatek: cleanup unnecessary get chip id and its user
Since driver is devicetree-based, all device type and charateristic can be determined by the compatible string and its data. It's unnecessary to create another dependent function to check chip ID and then decide whether the specific funciton is being supported on a certain device. It can be totally replaced by the existing flag, so a cleanup is made by removing the function and the only user, HWLRO. MT2701 also have a missing HWLRO support in old code, so add it the same patch. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions