aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/qdio_perf.c
diff options
context:
space:
mode:
authorJan Glauber <jang@linux.vnet.ibm.com>2009-06-12 10:26:29 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-06-12 10:27:32 +0200
commita7c65a559ac371a08e67600ae585052441d71392 (patch)
treefe67bd0523c3219b235b156f290d421bad99ebde /drivers/s390/cio/qdio_perf.c
parent4c57542320e73b9ff46b04092273dbcc184a4fb6 (diff)
downloadkernel_samsung_smdk4412-a7c65a559ac371a08e67600ae585052441d71392.zip
kernel_samsung_smdk4412-a7c65a559ac371a08e67600ae585052441d71392.tar.gz
kernel_samsung_smdk4412-a7c65a559ac371a08e67600ae585052441d71392.tar.bz2
[S390] qdio: inline qdio_perf_stat_inc
Move qdio_perf_stat_inc to the header file so it can be inlined. Remove unused qdio_perf_stat_dec. Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/qdio_perf.c')
-rw-r--r--drivers/s390/cio/qdio_perf.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/s390/cio/qdio_perf.c b/drivers/s390/cio/qdio_perf.c
index 136d0f0..eff9439 100644
--- a/drivers/s390/cio/qdio_perf.c
+++ b/drivers/s390/cio/qdio_perf.c
@@ -25,18 +25,6 @@ struct qdio_perf_stats perf_stats;
static struct proc_dir_entry *qdio_perf_pde;
#endif
-inline void qdio_perf_stat_inc(atomic_long_t *count)
-{
- if (qdio_performance_stats)
- atomic_long_inc(count);
-}
-
-inline void qdio_perf_stat_dec(atomic_long_t *count)
-{
- if (qdio_performance_stats)
- atomic_long_dec(count);
-}
-
/*
* procfs functions
*/