mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	bpfilter: remove extra header search paths for bpfilter_umh
Currently, the header search paths -Itools/include and -Itools/include/uapi are not used. Let's drop the unused code. We can remove -I. too by fixing up one C file. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
		
							parent
							
								
									ee825e8bc7
								
							
						
					
					
						commit
						303a339f30
					
				
					 2 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -5,7 +5,6 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
hostprogs-y := bpfilter_umh
 | 
					hostprogs-y := bpfilter_umh
 | 
				
			||||||
bpfilter_umh-objs := main.o
 | 
					bpfilter_umh-objs := main.o
 | 
				
			||||||
KBUILD_HOSTCFLAGS += -I. -Itools/include/ -Itools/include/uapi
 | 
					 | 
				
			||||||
HOSTCC := $(CC)
 | 
					HOSTCC := $(CC)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ifeq ($(CONFIG_BPFILTER_UMH), y)
 | 
					ifeq ($(CONFIG_BPFILTER_UMH), y)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6,7 +6,7 @@
 | 
				
			||||||
#include <sys/socket.h>
 | 
					#include <sys/socket.h>
 | 
				
			||||||
#include <fcntl.h>
 | 
					#include <fcntl.h>
 | 
				
			||||||
#include <unistd.h>
 | 
					#include <unistd.h>
 | 
				
			||||||
#include "include/uapi/linux/bpf.h"
 | 
					#include "../../include/uapi/linux/bpf.h"
 | 
				
			||||||
#include <asm/unistd.h>
 | 
					#include <asm/unistd.h>
 | 
				
			||||||
#include "msgfmt.h"
 | 
					#include "msgfmt.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue