diff mbox

[net-next] ceph: remove bogus extern

Message ID 20140610203013.6a5e5904@nehalam.linuxnetplumber.net
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Stephen Hemminger June 11, 2014, 3:30 a.m. UTC
Sparse complained about this bogus extern on definition of
a function.

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

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

David Miller June 11, 2014, 10:40 p.m. UTC | #1
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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- 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);
 }