This patch contains the following cleanups:
- make needlessly global functions static
- every file should #include the headers containing the prototypes for
  it's global functions

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Adrian Bunk 2005-11-20 23:56:11 +01:00 коммит произвёл Greg Kroah-Hartman
Родитель 4bf0ba8614
Коммит 3d48586cfa
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -646,14 +646,14 @@ static void usbatm_destroy_instance(struct kref *kref)
kfree(instance); kfree(instance);
} }
void usbatm_get_instance(struct usbatm_data *instance) static void usbatm_get_instance(struct usbatm_data *instance)
{ {
dbg("%s", __func__); dbg("%s", __func__);
kref_get(&instance->refcount); kref_get(&instance->refcount);
} }
void usbatm_put_instance(struct usbatm_data *instance) static void usbatm_put_instance(struct usbatm_data *instance)
{ {
dbg("%s", __func__); dbg("%s", __func__);

Просмотреть файл

@ -2843,7 +2843,7 @@ static struct edge_buf *edge_buf_alloc(unsigned int size)
* Free the buffer and all associated memory. * Free the buffer and all associated memory.
*/ */
void edge_buf_free(struct edge_buf *eb) static void edge_buf_free(struct edge_buf *eb)
{ {
if (eb) { if (eb) {
kfree(eb->buf_buf); kfree(eb->buf_buf);