Skip to contentSkip to conversation

staging: unisys: remove unused functions

PATCH In review Sudip Mukherjee 2 participants 3 messages May 8, 2015 – May 11, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 staging: unisys: remove unused functions

these functions were just defined and never used. after removing the functions the variable visorchipset_cache_buffers_in_use is becoming unused, so removed it as well.

---

v2: combined both patches of v1 together

 drivers/staging/unisys/visorchipset/visorchipset.h |  4 --
 .../unisys/visorchipset/visorchipset_main.c        | 43 ----------------------
 2 files changed, 47 deletions(-)
drivers/staging/unisys/visorchipset/visorchipset.h +0 -4
index 87b63f0..fb10b46 100644
@@ -224,9 +224,5 @@ int visorchipset_chipset_selftest(void);
 int visorchipset_chipset_notready(void);
 void visorchipset_save_message(struct controlvm_message *msg,
 			       enum crash_obj_type type);
-void *visorchipset_cache_alloc(struct kmem_cache *pool,
-			       bool ok_to_block, char *fn, int ln);
-void visorchipset_cache_free(struct kmem_cache *pool, void *p,
-			     char *fn, int ln);
 
 #endif
drivers/staging/unisys/visorchipset/visorchipset_main.c +0 -43

55 lines not on this page · raw message

Signature · 1 line
1.8.1.2
#1 lore raw
Quoted 4 lines · Sudip Mukherjee

these functions were just defined and never used. after removing the functions the variable visorchipset_cache_buffers_in_use is becoming unused, so removed it as well.

Quoted 8 lines

---

v2: combined both patches of v1 together

 drivers/staging/unisys/visorchipset/visorchipset.h |  4 --
 .../unisys/visorchipset/visorchipset_main.c        | 43 ----------------------
 2 files changed, 47 deletions(-)

These files aren't in my tree anymore :(

#2 lore raw
Quoted 8 lines · Greg Kroah-Hartman
Quoted 7 lines · Sudip Mukherjee

these functions were just defined and never used. after removing the functions the variable visorchipset_cache_buffers_in_use is becoming unused, so removed it as well.

---

Quoted 7 lines
Quoted 5 lines

v2: combined both patches of v1 together

 drivers/staging/unisys/visorchipset/visorchipset.h |  4 --
 .../unisys/visorchipset/visorchipset_main.c        | 43 ----------------------
 2 files changed, 47 deletions(-)

These files aren't in my tree anymore :(

those files have been moved to visorbus by commit
<c79b28f7332e54903f6c81ff1157cbd3bf761a17>

i will send you fresh patch if the functions are still unused.

regards
sudip