All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cleanup: remove unneeded predeclaration of evaluate_cast()
@ 2020-08-15 13:45 Luc Van Oostenryck
  0 siblings, 0 replies; only message in thread
From: Luc Van Oostenryck @ 2020-08-15 13:45 UTC (permalink / raw)
  To: linux-sparse; +Cc: Luc Van Oostenryck

evaluate_cast() is predeclared in the middle of the file but
is not used before it's defined.

So, remove this unneeded predeclaration.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
---
 evaluate.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/evaluate.c b/evaluate.c
index 63a9390b5ee7..447020aa7fe4 100644
--- a/evaluate.c
+++ b/evaluate.c
@@ -2198,8 +2198,6 @@ static int is_promoted(struct expression *expr)
 }
 
 
-static struct symbol *evaluate_cast(struct expression *);
-
 static struct symbol *evaluate_type_information(struct expression *expr)
 {
 	struct symbol *sym = expr->cast_type;
-- 
2.28.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-15 22:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-15 13:45 [PATCH] cleanup: remove unneeded predeclaration of evaluate_cast() Luc Van Oostenryck

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.