From: Christoph Jaeger
As these typedefs are only used once, there is no real need for them.
Signed-off-by: Christoph Jaeger
---
drivers/staging/ozwpan/ozproto.h | 23 +++
1 file changed, 7 insertions(+), 16 deletions(-)
diff --git a/drivers/staging/ozwpan/ozproto.h b
Use a slab cache rather than rolling our own free list.
Signed-off-by: Christoph Jaeger
---
v2: Don't use likely()/unlikely().
drivers/staging/ozwpan/ozpd.c| 41 ++--
drivers/staging/ozwpan/ozpd.h| 3 +--
drivers/staging/ozwpan/ozproto.c
Use a slab cache rather than rolling our own free list.
Signed-off-by: Christoph Jaeger
---
v2: Don't use likely()/unlikely().
drivers/staging/ozwpan/ozeltbuf.c | 68 ++-
drivers/staging/ozwpan/ozeltbuf.h | 5 ---
drivers/staging/ozwpan/ozpd.c
Use a slab cache rather than rolling our own free list.
Signed-off-by: Christoph Jaeger
---
v2: Don't use likely()/unlikely().
drivers/staging/ozwpan/ozhcd.c | 70 --
1 file changed, 12 insertions(+), 58 deletions(-)
diff --git a/drivers/staging/o
Make use of the various list helper functions to improve readability.
Signed-off-by: Christoph Jaeger
---
drivers/staging/ozwpan/ozeltbuf.c | 60 +++--
drivers/staging/ozwpan/ozhcd.c| 96 +++---
drivers/staging/ozwpan/ozpd.c | 106
Simplify the somewhat overcomplicated application interface; improves
readability and saves a bunch of lines.
Use designated struct initializers for clarity.
Signed-off-by: Christoph Jaeger
---
drivers/staging/ozwpan/ozcdev.c | 30 +++
drivers/staging/ozwpan/ozpd.c | 151
OZ_MAX_TIMER_POOL_SIZE is not used anywhere; remove it.
Signed-off-by: Christoph Jaeger
---
drivers/staging/ozwpan/ozproto.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/ozwpan/ozproto.c b/drivers/staging/ozwpan/ozproto.c
index 1102055..4aebe16 100644
--- a/drivers
No need to return a value from elt_buf_init().
Signed-off-by: Christoph Jaeger
---
drivers/staging/ozwpan/ozeltbuf.c | 3 +--
drivers/staging/ozwpan/ozeltbuf.h | 2 +-
drivers/staging/ozwpan/ozpd.c | 5 +
3 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/drivers/staging
Use a slab cache rather than rolling our own free list.
Signed-off-by: Christoph Jaeger
---
drivers/staging/ozwpan/ozeltbuf.c | 70 +++
drivers/staging/ozwpan/ozeltbuf.h | 5 ---
drivers/staging/ozwpan/ozpd.c | 2 --
drivers/staging/ozwpan/ozpd.h
Use a slab cache rather than rolling our own free list.
Signed-off-by: Christoph Jaeger
---
drivers/staging/ozwpan/ozpd.c| 43 +++-
drivers/staging/ozwpan/ozpd.h| 3 +--
drivers/staging/ozwpan/ozproto.c | 8
drivers/staging/ozwpan/ozproto.h
Use a slab cache rather than rolling our own free list.
Signed-off-by: Christoph Jaeger
---
drivers/staging/ozwpan/ozhcd.c | 70 --
1 file changed, 12 insertions(+), 58 deletions(-)
diff --git a/drivers/staging/ozwpan/ozhcd.c b/drivers/staging/ozwpan
Member 'ops' has already been initialized by calling cdev_init().
Signed-off-by: Christoph Jaeger
---
drivers/staging/ozwpan/ozcdev.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/ozwpan/ozcdev.c b/drivers/staging/ozwpan/ozcdev.c
index 10c0a96..f82e12c 100644
---
Signed-off-by: Christoph Jaeger
---
drivers/staging/ozwpan/ozmain.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/ozwpan/ozmain.c b/drivers/staging/ozwpan/ozmain.c
index d1a5b7a..7d6ef4c 100644
--- a/drivers/staging/ozwpan/ozmain.c
+++ b/drivers/staging
Signed-off-by: Christoph Jaeger
---
drivers/staging/ozwpan/ozproto.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/ozwpan/ozproto.h b/drivers/staging/ozwpan/ozproto.h
index cb38e02..378b737 100644
--- a/drivers/staging/ozwpan/ozproto.h
+++ b/drivers
This patch set does some cleanup; no functional change.
Christoph Jaeger (10):
staging: ozwpan: Add module parameter description
staging: ozwpan: Fix typo in typedef
staging: ozwpan: Remove unused OZ_MAX_TIMER_POOL_SIZE
staging: ozwpan: Remove redundant initialization
staging: ozwpan
__FUNCTION__ is gcc specific; use __func__ instead.
Signed-off-by: Christoph Jaeger
---
drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h | 4 ++--
drivers/staging/lustre/lustre/include/linux/obd.h | 2 +-
drivers/staging/lustre/lustre/include/lu_ref.h | 4
16 matches
Mail list logo