Subject: [ofa-general] Re: [PATCH v2 08/13] QLogic VNIC: sysfs interface implementation for the driver

From: Roland Dreier <[email-masked]>
Date: Tue, 27 May 2008 22:26:04 -0700

> +ssize_t vnic_create_primary(struct device *dev,
 > +			    struct device_attribute *dev_attr, const char *buf,
 > +			    size_t count)

 > +ssize_t vnic_create_secondary(struct device *dev,
 > +			      struct device_attribute *dev_attr,
 > +			      const char *buf, size_t count)

 > +ssize_t vnic_delete(struct device *dev, struct device_attribute *dev_attr,
 > +		    const char *buf, size_t count)

These are all only referenced from a sysfs attribute defined in the same
file, so they can be made static (and don't need extern declarations in
a header file).