mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
net: cleanup unused macros in net directory
Clean up some unused macros in net/*. 1. be left for code change. e.g. PGV_FROM_VMALLOC, PGV_FROM_VMALLOC, KMEM_SAFETYZONE. 2. never be used since introduced to kernel. e.g. P9_RDMA_MAX_SGE, UTIL_CTRL_PKT_SIZE. Signed-off-by: Shan Wei <[email protected]> Acked-by: Sjur Braendeland <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
6997e61891
commit
441c793a56
10 changed files with 2 additions and 12 deletions
|
|
@ -164,7 +164,6 @@ struct packet_mreq_max {
|
|||
static int packet_set_ring(struct sock *sk, struct tpacket_req *req,
|
||||
int closing, int tx_ring);
|
||||
|
||||
#define PGV_FROM_VMALLOC 1
|
||||
struct pgv {
|
||||
char *buffer;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue