Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3356b4d4 authored by Joe Perches's avatar Joe Perches Committed by David S. Miller
Browse files

net/atm/atm_misc.c: checkpatch cleanups



Moved EXPORT_SYMBOL to follow definition
Add space after commas

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c39f01d7
Loading
Loading
Loading
Loading
+16 −24
Original line number Diff line number Diff line
@@ -2,16 +2,14 @@

/* Written 1995-2000 by Werner Almesberger, EPFL ICA */


#include <linux/module.h>
#include <linux/atm.h>
#include <linux/atmdev.h>
#include <linux/skbuff.h>
#include <linux/sonet.h>
#include <linux/bitops.h>
#include <linux/errno.h>
#include <asm/atomic.h>
#include <asm/errno.h>


int atm_charge(struct atm_vcc *vcc, int truesize)
{
@@ -22,7 +20,7 @@ int atm_charge(struct atm_vcc *vcc,int truesize)
	atomic_inc(&vcc->stats->rx_drop);
	return 0;
}

EXPORT_SYMBOL(atm_charge);

struct sk_buff *atm_alloc_charge(struct atm_vcc *vcc, int pdu_size,
				 gfp_t gfp_flags)
@@ -44,6 +42,7 @@ struct sk_buff *atm_alloc_charge(struct atm_vcc *vcc,int pdu_size,
	atomic_inc(&vcc->stats->rx_drop);
	return NULL;
}
EXPORT_SYMBOL(atm_alloc_charge);


/*
@@ -73,7 +72,6 @@ struct sk_buff *atm_alloc_charge(struct atm_vcc *vcc,int pdu_size,
 *	 else *
 */


int atm_pcr_goal(const struct atm_trafprm *tp)
{
	if (tp->pcr && tp->pcr != ATM_MAX_PCR)
@@ -84,7 +82,7 @@ int atm_pcr_goal(const struct atm_trafprm *tp)
		return -tp->max_pcr;
	return 0;
}

EXPORT_SYMBOL(atm_pcr_goal);

void sonet_copy_stats(struct k_sonet_stats *from, struct sonet_stats *to)
{
@@ -92,7 +90,7 @@ void sonet_copy_stats(struct k_sonet_stats *from,struct sonet_stats *to)
	__SONET_ITEMS
#undef __HANDLE_ITEM
}

EXPORT_SYMBOL(sonet_copy_stats);

void sonet_subtract_stats(struct k_sonet_stats *from, struct sonet_stats *to)
{
@@ -100,10 +98,4 @@ void sonet_subtract_stats(struct k_sonet_stats *from,struct sonet_stats *to)
	__SONET_ITEMS
#undef __HANDLE_ITEM
}


EXPORT_SYMBOL(atm_charge);
EXPORT_SYMBOL(atm_alloc_charge);
EXPORT_SYMBOL(atm_pcr_goal);
EXPORT_SYMBOL(sonet_copy_stats);
EXPORT_SYMBOL(sonet_subtract_stats);