j1939: j1939_sk_get_timestamping_opt_stats() can be static

Fixes: 0d07d158907c ("j1939: add MSG_ERRQUEUE support")
Signed-off-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
diff --git a/net/can/j1939/socket.c b/net/can/j1939/socket.c
index ea272dc..22088c3 100644
--- a/net/can/j1939/socket.c
+++ b/net/can/j1939/socket.c
@@ -741,7 +741,7 @@
 		0;
 }
 
-struct sk_buff *j1939_sk_get_timestamping_opt_stats(struct j1939_session *session)
+static struct sk_buff *j1939_sk_get_timestamping_opt_stats(struct j1939_session *session)
 {
 	struct sk_buff *stats;