Skip to content

Commit 4cb6a61

Browse files
Tdent48227davem330
authored andcommitted
Net: ceph: Makefile: Remove unnessary code
Remove the if and else conditional because the code is in mainline and there is no need in it being there. Signed-off-by: Tracey Dent <tdent48227@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent a27e13d commit 4cb6a61

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

‎net/ceph/Makefile‎

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#
22
# Makefile for CEPH filesystem.
33
#
4-
5-
ifneq ($(KERNELRELEASE),)
6-
74
obj-$(CONFIG_CEPH_LIB) += libceph.o
85

96
libceph-objs := ceph_common.o messenger.o msgpool.o buffer.o pagelist.o \
@@ -16,22 +13,3 @@ libceph-objs := ceph_common.o messenger.o msgpool.o buffer.o pagelist.o \
1613
ceph_fs.o ceph_strings.o ceph_hash.o \
1714
pagevec.o
1815

19-
else
20-
#Otherwise we were called directly from the command
21-
# line; invoke the kernel build system.
22-
23-
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
24-
PWD := $(shell pwd)
25-
26-
default: all
27-
28-
all:
29-
$(MAKE) -C $(KERNELDIR) M=$(PWD) CONFIG_CEPH_LIB=m modules
30-
31-
modules_install:
32-
$(MAKE) -C $(KERNELDIR) M=$(PWD) CONFIG_CEPH_LIB=m modules_install
33-
34-
clean:
35-
$(MAKE) -C $(KERNELDIR) M=$(PWD) clean
36-
37-
endif

0 commit comments

Comments
 (0)