misc: sgi-gru: gruhandles.c: Remove unused function
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Mon, 21 Sep 2015 10:18:18 +0000 (15:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 11:55:59 +0000 (12:55 +0100)
Remove the function tfh_restart() that is not used anywhere.

This was partially found by using a static code analysis program called cppcheck.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Acked-by: Dimitri Sivanich <sivanich@sgi.com>
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/sgi-gru/gruhandles.c
drivers/misc/sgi-gru/gruhandles.h

index 2f30badc6ffd9251cd2e59835e3061b2816cd09f..1ee8e82ba7102639cf7e109e3c2fe8e6297ec6b1 100644 (file)
@@ -196,12 +196,6 @@ void tfh_write_restart(struct gru_tlb_fault_handle *tfh,
        start_instruction(tfh);
 }
 
-void tfh_restart(struct gru_tlb_fault_handle *tfh)
-{
-       tfh->opc = TFHOP_RESTART;
-       start_instruction(tfh);
-}
-
 void tfh_user_polling_mode(struct gru_tlb_fault_handle *tfh)
 {
        tfh->opc = TFHOP_USER_POLLING_MODE;
index 3f998b924d8f8cdca04b082a0cade431e63988e8..3d7bd36a1c8996e7ad8a7ef4914d9b198eaec630 100644 (file)
@@ -524,7 +524,6 @@ int tfh_write_only(struct gru_tlb_fault_handle *tfh, unsigned long paddr,
        int gaa, unsigned long vaddr, int asid, int dirty, int pagesize);
 void tfh_write_restart(struct gru_tlb_fault_handle *tfh, unsigned long paddr,
        int gaa, unsigned long vaddr, int asid, int dirty, int pagesize);
-void tfh_restart(struct gru_tlb_fault_handle *tfh);
 void tfh_user_polling_mode(struct gru_tlb_fault_handle *tfh);
 void tfh_exception(struct gru_tlb_fault_handle *tfh);
 
This page took 0.025704 seconds and 5 git commands to generate.