netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] ceph: remove bogus extern
@ 2014-06-11  3:30 Stephen Hemminger
  2014-06-11 22:40 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2014-06-11  3:30 UTC (permalink / raw)
  To: Sage Weil, David Miller, netdev

Sparse complained about this bogus extern on definition of
a function.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

--- a/net/ceph/osd_client.c	2014-04-20 13:04:38.238240920 -0700
+++ b/net/ceph/osd_client.c	2014-06-10 20:21:51.894499623 -0700
@@ -2491,7 +2491,7 @@ EXPORT_SYMBOL(ceph_osdc_sync);
  * Call all pending notify callbacks - for use after a watch is
  * unregistered, to make sure no more callbacks for it will be invoked
  */
-extern void ceph_osdc_flush_notifies(struct ceph_osd_client *osdc)
+void ceph_osdc_flush_notifies(struct ceph_osd_client *osdc)
 {
 	flush_workqueue(osdc->notify_wq);
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next] ceph: remove bogus extern
  2014-06-11  3:30 [PATCH net-next] ceph: remove bogus extern Stephen Hemminger
@ 2014-06-11 22:40 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-06-11 22:40 UTC (permalink / raw)
  To: stephen; +Cc: sage, netdev

From: Stephen Hemminger <stephen@networkplumber.org>
Date: Tue, 10 Jun 2014 20:30:13 -0700

> Sparse complained about this bogus extern on definition of
> a function.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-11 22:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-11  3:30 [PATCH net-next] ceph: remove bogus extern Stephen Hemminger
2014-06-11 22:40 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).