All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea Claudi <aclaudi@redhat.com>
To: netdev@vger.kernel.org
Cc: stephen@networkplumber.org, dsahern@gmail.com
Subject: [PATCH iproute2-next] genl: remove unused vars in Makefile
Date: Sun, 23 Oct 2022 18:41:01 +0200	[thread overview]
Message-ID: <a5fd2030a1e4051f9cadaee20ab95b29bdd52662.1666543197.git.aclaudi@redhat.com> (raw)

Both GENLLIB and LIBUTIL are not used in genl Makefile, let's get rid of
them.

Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
---
 genl/Makefile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/genl/Makefile b/genl/Makefile
index 2b7a45b6..0bd27ff6 100644
--- a/genl/Makefile
+++ b/genl/Makefile
@@ -11,8 +11,6 @@ GENLMODULES += ctrl.o
 
 GENLOBJ += $(GENLMODULES)
 
-GENLLIB :=
-
 ifeq ($(SHARED_LIBS),y)
 LDFLAGS += -Wl,-export-dynamic
 LDLIBS  += -lm -ldl
@@ -20,14 +18,14 @@ endif
 
 all: genl
 
-genl: $(GENLOBJ) $(LIBNETLINK) $(LIBUTIL) $(GENLLIB)
+genl: $(GENLOBJ) $(LIBNETLINK)
 	$(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@
 
 install: all
 	install -m 0755 genl $(DESTDIR)$(SBINDIR)
 
 clean:
-	rm -f $(GENLOBJ) $(GENLLIB) genl
+	rm -f $(GENLOBJ) genl
 
 ifneq ($(SHARED_LIBS),y)
 
-- 
2.37.3


                 reply	other threads:[~2022-10-23 16:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a5fd2030a1e4051f9cadaee20ab95b29bdd52662.1666543197.git.aclaudi@redhat.com \
    --to=aclaudi@redhat.com \
    --cc=dsahern@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.