Remove the function irq_bank_readl() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
arch/arm/mach-omap1/irq.c |5 -
1 file changed, 5 deletions(-)
diff --git a/arch/arm/mach-omap1
Remove the function omap_32k_timer_read() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
arch/arm/mach-omap1/timer32k.c |5 -
1 file changed, 5 deletions(-)
diff --git a/arch/arm/mach
Remove the function tc35876x_exit() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c | 10 --
drivers/gpu/drm/gma500/tc35876x-dsi-lvds.h
Removes some functions that are not used anywhere:
vlv_flisdsi_read() vlv_gps_core_write() vlv_gps_core_read()
vlv_ccu_write() vlv_ccu_read() vlv_gpio_nc_read()
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/gpu
Removes some functions that are not used anywhere:
pwrdm_get_voltdm() pwrdm_for_each_clkdm() pwrdm_del_clkdm()
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
arch/arm/mach-omap2/powerdomain.c | 81
Removes some functions that are not used anywhere:
hpi_subsys_get_version_ex() hpi_instream_wait_start()
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
sound/pci/asihpi/hpi.h |4
sound/pci/asihpi/hpifunc.c
Remove the function sr_nx() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
arch/powerpc/kvm/book3s_32_mmu.c |5 -
1 file changed, 5 deletions(-)
diff --git a/arch/powerpc/kvm
()
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
arch/arm/mach-omap2/omap_hwmod.c | 232 --
arch/arm/mach-omap2/omap_hwmod.h | 16 ---
2 files changed, 248 deletions(-)
diff --git a/arch
Remove the function bfa_tskim_iodone() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/scsi/bfa/bfa_fcpim.c |9 -
drivers/scsi/bfa/bfa_fcpim.h |1 -
2 files changed, 10
Removes some functions that are not used anywhere:
kvmppc_core_load_guest_debugstate() kvmppc_core_load_host_debugstate()
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
arch/powerpc/kvm/book3s.c |8
arch
Remove the function rtl8188e_set_rssi_cmd() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c | 16
drivers/staging/rtl8188eu
Remove the function compat_sys_mmap2() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
arch/powerpc/kernel/sys_ppc32.c |8
1 file changed, 8 deletions(-)
diff --git a/arch/powerpc
Remove the function slice_set_psize() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
arch/powerpc/mm/slice.c | 29 -
1 file changed, 29 deletions(-)
diff --git a
Remove the function get_fpr_index() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
arch/powerpc/kvm/book3s_pr.c |5 -
1 file changed, 5 deletions(-)
diff --git a/arch/powerpc/kvm
Remove the function GetEEPROMSize8188E() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 14 --
drivers/staging/rtl8188eu
() fc_rrq_rsp_parse()
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/scsi/bfa/bfa_fcbuild.c | 607
drivers/scsi/bfa/bfa_fcbuild.h | 87 --
2 files changed, 694 deletions
Remove the function intel_output_name() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/gpu/drm/i915/intel_display.c | 22 --
drivers/gpu/drm/i915/intel_drv.h
Remove the function vsx_assist_exception() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
arch/powerpc/kernel/traps.c | 15 ---
1 file changed, 15 deletions(-)
diff --git a/arch
Remove the function show_trace_task() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
arch/openrisc/kernel/traps.c |7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/openrisc
() omap_pm_set_max_sdma_lat()
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
arch/arm/mach-omap2/omap-pm-noop.c | 196
arch/arm/mach-omap2/omap-pm.h | 192 ---
2
Remove the function event_bhrb_init() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
tools/testing/selftests/powerpc/pmu/ebb/ebb.c |5 -
tools/testing/selftests/powerpc/pmu/ebb/ebb.h
Remove the function search_one_table() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
arch/frv/mm/extable.c | 23 ---
1 file changed, 23 deletions(-)
diff --git a/arch
Remove the function show_trace_task() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
arch/mn10300/kernel/traps.c | 14 --
1 file changed, 14 deletions(-)
diff --git a/arch
Remove the function intel_dp_set_drrs_state() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/gpu/drm/i915/intel_dp.c | 89 --
drivers/gpu/drm
program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
arch/arm/mach-omap2/clkt2xxx_apll.c | 52 ---
arch/arm/mach-omap2/clock2xxx.h |9 --
2 files changed, 61 deletions(-)
diff --git a/arch/arm/mach-omap2/clkt2xxx_apll.c
b/arch/arm/mach-omap2
Remove the function dsi_hs_mode_enable() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/gpu/drm/i915/intel_dsi_cmd.c | 21 -
drivers/gpu/drm/i915/intel_dsi_cmd.h
Remove the function usb_writeN() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/staging/rtl8188eu/include/usb_ops_linux.h |1 -
drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c
Remove the function rtl92d_set_fw_pwrmode_cmd() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/net/wireless/rtlwifi/rtl8192de/fw.c | 17 -
drivers/net/wireless
Remove the function MACbCompareContext() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/staging/vt6655/mac.c | 42 --
drivers/staging/vt6655
Remove the function sys_debug_setcontext() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
arch/powerpc/kernel/signal_32.c | 107 ---
1 file changed, 107
Remove the function bfad_drv_uninit() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/scsi/bfa/bfad.c | 20
drivers/scsi/bfa/bfad_drv.h |1 -
2 files
Remove the function generic_mach_cpu_die() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
arch/powerpc/include/asm/smp.h |1 -
arch/powerpc/kernel/smp.c | 14 --
2 files
Removes some functions that are not used anywhere:
am33xx_cm_read_reg_bits() am33xx_cm_clear_reg_bits() am33xx_cm_set_reg_bits()
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
arch/arm/mach-omap2/cm33xx.c | 21
Remove the function CAM_read_entry() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/staging/rtl8192e/rtl8192e/rtl_cam.c | 29 ---
drivers/staging/rtl8192e
Remove the function inst_set_field() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
arch/powerpc/kvm/book3s_paired_singles.c |8
1 file changed, 8 deletions(-)
diff --git a/arch
Remove the function omap4_dpllmx_gatectrl_read() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
arch/arm/mach-omap2/clock.h|1 -
arch/arm/mach-omap2/dpll44xx.c | 20
Remove the function cmo_high_show() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
arch/powerpc/kernel/vio.c |5 -
1 file changed, 5 deletions(-)
diff --git a/arch/powerpc/kernel
Removes some functions that are not used anywhere:
trace_log_outdent() trace_log_indent()
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
tools/testing/selftests/powerpc/pmu/ebb/trace.c | 26
Remove the function dsi_rr_formula() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/gpu/drm/i915/intel_dsi_pll.c | 83 +-
1 file changed, 1 insertion
Hi
Ok, sorry :-(
But I really do not. I've hacked together a script that will scan all
the code for the function, and test builds with some different config
options turned on.
Kind regards
Rickard Strandqvist
2014-12-07 23:18 GMT+01:00 Richard Weinberger :
> Am 07.12.2014 um 23:07
Avoid allocate memory if we will exit the function.
Was found by using a static code analysis program called cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/staging/ft1000/ft1000-usb/ft1000_hw.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers
A missing va_end in connection with vsnprintf
Was found by using a static code analysis program called cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/staging/unisys/uislib/uisutils.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/unisys/uislib/uisutils.c
b
Avoid allocate memory if we will exit the function.
Was found by using a static code analysis program called cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/staging/ft1000/ft1000-usb/ft1000_hw.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers
code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
sound/pci/asihpi/hpi.h | 304 ---
sound/pci/asihpi/hpi_internal.h |7 -
sound/pci/asihpi/hpifunc.c | 1693 ---
3 files changed, 136 insertions(+), 1868 deletions
Remove the function i40e_rx_is_fip() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/net/ethernet/intel/i40e/i40e_fcoe.c |9 -
1 file changed, 9 deletions(-)
diff --git a
Removes some functions that are not used anywhere:
acpi_ut_strlwr() acpi_ut_safe_strncat() acpi_ut_safe_strcat()
acpi_ut_safe_strcpy() ut_convert_backslashes() acpi_ut_stricmp()
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
what this code was meant to do it is a little more difficult.
Kind regards
Rickard Strandqvist
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.htm
Removes some functions that are not used anywhere:
CAM_empty_entry() get_bsstype() rtw_get_oper_choffset()
rtw_get_oper_bw() is_ap_in_wep() should_forbid_n_rate()
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers
Remove the function shadowmode_off() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/video/fbdev/tridentfb.c |5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/video
Remove the function tipc_link_get_max_pkt() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
net/tipc/link.c | 27 ---
net/tipc/link.h |1 -
2 files changed, 28
Remove the function nfc_llc_unregister() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
net/nfc/hci/llc.c | 13 -
net/nfc/hci/llc.h |1 -
2 files changed, 14 deletions
Removes some functions that are not used anywhere:
perf_cpu_hrtimer_cancel() perf_cgroup_event_cgrp_time()
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
kernel/events/core.c | 33 -
1
Remove the function nvif_notify_ref() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/gpu/drm/nouveau/nvif/notify.c |9 -
drivers/gpu/drm/nouveau/nvif/notify.h |1 -
2
Removes some functions that are not used anywhere:
acpi_rs_dump_irq_list() acpi_rs_dump_resource_list()
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/acpi/acpica/acresrc.h |7 ---
drivers/acpi/acpica
Remove the function aal5_spacefor() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/atm/lanai.c |9 -
1 file changed, 9 deletions(-)
diff --git a/drivers/atm/lanai.c b
Removes some functions that are not used anywhere:
rv770_read_smc_soft_register() rv770_dpm_reset_asic()
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/gpu/drm/radeon/rv770_dpm.c | 23
Remove the function acpi_tb_store_table() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/acpi/acpica/actables.h |5 -
drivers/acpi/acpica/tbinstal.c | 37
Removes some functions that are not used anywhere:
channel_to_vpivci() query_tx_channel_config() rx_disabled_handler()
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/atm/horizon.c | 24
Removes some functions that are not used anywhere:
sumo_convert_vid7_to_vid2() sumo_dpm_reset_asic()
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/gpu/drm/radeon/sumo_dpm.c | 26
Remove the function btrfs_start_transaction_lflush() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
fs/btrfs/transaction.c |7 ---
fs/btrfs/transaction.h |2 --
2 files changed, 9
Remove the function rv515_ring_start() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/gpu/drm/radeon/radeon_asic.h |1 -
drivers/gpu/drm/radeon/rv515.c | 68
Remove the function radeon_fbdev_total_size() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/gpu/drm/radeon/radeon_fb.c | 10 --
drivers/gpu/drm/radeon/radeon_mode.h |1
Remove the function radeon_best_encoder() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/gpu/drm/radeon/radeon_i2c.c |5 -
drivers/gpu/drm/radeon/radeon_mode.h |2 --
2
Remove the function rsxx_get_card_capabilities() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/block/rsxx/cregs.c |7 ---
drivers/block/rsxx/rsxx_priv.h |2 --
2 files
Remove the function renew_client() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
fs/nfsd/nfs4state.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/fs/nfsd/nfs4state.c b/fs
2015-01-12 21:29 GMT+01:00 Paul Moore :
> On Sunday, January 11, 2015 11:44:30 PM Rickard Strandqvist wrote:
>> Remove the function mls_import_netlbl_cat() that is not used anywhere.
>>
>> This was partially found by using a static code analysis program called
>> cp
2015-01-12 0:13 GMT+01:00 Ben Skeggs :
> On Sun, Jan 11, 2015 at 11:53 PM, Rickard Strandqvist
> wrote:
>
> Hey Rickard,
>
>> Remove the function nvif_device_new() that is not used anywhere.
> It's used, just not by the kernel. All the code under core/ and nvif/
>
2015-01-12 9:23 GMT+01:00 Jürgen Groß :
> On 01/11/2015 11:35 PM, Rickard Strandqvist wrote:
>>
>> Remove the function set_pte_mfn() that is not used anywhere.
>>
>> This was partially found by using a static code analysis program called
>> cppcheck.
>
>
&g
2015-01-14 9:55 GMT+01:00 Zheng, Lv :
> Hi, Rickard
>
> The functions below seem already marked by "ACPI_ASL_COMPILER ||
> ACPI_HELP_APP".
> How did you detect them as used functions?
>
> Thanks
> -Lv
>
>
>> -Original Message-
>>
2015-01-14 11:22 GMT+01:00 Sekhar Nori :
> Hi Rickard,
>
> On Sunday 07 December 2014 04:32 AM, Rickard Strandqvist wrote:
>> Remove the function cdce_set_rate() that is not used anywhere.
>>
>> This was partially found by using a static code analysis program called
&g
2015-01-05 12:06 GMT+01:00 Arend van Spriel :
> On 01/05/15 11:49, Kalle Valo wrote:
>>
>> Rickard Strandqvist writes:
>>
>>> As I hope you can see I have made some changes regarding the
>>> subject-line. Thought it was an advantage to be able to see whic
ake small patches, and it also fit better to have
more specific paths in the subject line.
But I'll try to gather all in one patchset instead this weekend.
Kind regards
Rickard Strandqvist
2015-01-06 19:14 GMT+01:00 Kalle Valo :
> Rickard Strandqvist writes:
>
>> Re
2015-01-07 9:58 GMT+01:00 Arend van Spriel :
> On 01/07/15 07:29, Julia Lawall wrote:
>>
>>
>>
>> On Wed, 7 Jan 2015, Rickard Strandqvist wrote:
>>
>>> 2015-01-05 12:06 GMT+01:00 Arend van Spriel:
>>>>
>>>> On 01/05/15 11:49
() ex_halbtc8821a1ant_lps_notify()
ex_halbtc8821a1ant_ips_notify() ex_halbtc8821a1ant_display_coex_info()
ex_halbtc8821a1ant_init_coex_dm() ex_halbtc8821a1ant_init_hwconfig()
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
() ex_halbtc8821a2ant_ips_notify()
ex_halbtc8821a2ant_display_coex_info() ex_halbtc8821a2ant_init_coex_dm()
ex_halbtc8821a2ant_init_hwconfig()
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
.../wireless/rtlwifi/btcoexist
-by: Rickard Strandqvist
---
.../wireless/rtlwifi/btcoexist/halbtc8723b1ant.c | 748
.../wireless/rtlwifi/btcoexist/halbtc8723b1ant.h | 15 -
2 files changed, 763 deletions(-)
diff --git a/drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b1ant.c
b/drivers/net/wireless
Remove the function snd_efw_command_set_resp_addr() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
sound/firewire/fireworks/fireworks.h |2 --
sound/firewire/fireworks
Remove the function nlm_encode_fh() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
fs/lockd/xdr.c |8
1 file changed, 8 deletions(-)
diff --git a/fs/lockd/xdr.c b/fs/lockd/xdr.c
2015-01-10 18:11 GMT+01:00 Larry Finger :
> On 01/10/2015 10:24 AM, Rickard Strandqvist wrote:
>>
>> Removes some functions that are not used anywhere:
>> ex_halbtc8821a1ant_periodical() ex_halbtc8821a1ant_pnp_notify()
>> ex_halbtc8821a1ant_halt_notify() ex_hal
Remove the function ocfs2_xattr_bucket_get_val() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
fs/ocfs2/xattr.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/fs/ocfs2
Remove the function aead_entries() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
net/xfrm/xfrm_algo.c |5 -
1 file changed, 5 deletions(-)
diff --git a/net/xfrm/xfrm_algo.c b/net
Remove the function cm_is_active_peer() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/infiniband/core/cm.c |8
1 file changed, 8 deletions(-)
diff --git a/drivers
Remove the function ol_dqblk_file_block() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
fs/ocfs2/quota_local.c |6 --
1 file changed, 6 deletions(-)
diff --git a/fs/ocfs2
Remove the function radeon_bo_fbdev_mmap() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/gpu/drm/radeon/radeon_object.c |6 --
drivers/gpu/drm/radeon/radeon_object.h |2
Remove the function nvif_device_new() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/gpu/drm/nouveau/nvif/device.c | 18 --
drivers/gpu/drm/nouveau/nvif/device.h
Remove the function btc_dpm_reset_asic() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/gpu/drm/radeon/btc_dpm.c |8
1 file changed, 8 deletions(-)
diff --git a/drivers
Remove the function domain_to_ttm() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/gpu/drm/nouveau/nouveau_gem.c | 13 -
1 file changed, 13 deletions(-)
diff --git a
Remove the function qib_read_ureg() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/infiniband/hw/qib/qib_iba7322.c | 22 --
1 file changed, 22 deletions(-)
diff
Remove the function teql_neigh_release() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
net/sched/sch_teql.c |7 ---
1 file changed, 7 deletions(-)
diff --git a/net/sched/sch_teql.c b
Removes some functions that are not used anywhere:
lola_restore_mixer() lola_save_mixer()
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
sound/pci/lola/lola.h |2 --
sound/pci/lola/lola_mixer.c | 43
Remove the function ata_do_simple_cmd() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/ata/libata-core.c | 27 ---
drivers/ata/libata.h |1 -
2 files
Remove the function dlm_joined() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
fs/ocfs2/dlm/dlmdomain.c | 14 --
fs/ocfs2/dlm/dlmdomain.h |1 -
2 files changed, 15 deletions
Removes some functions that are not used anywhere:
ci_dpm_reset_asic() ci_dpm_power_control_set_level()
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/gpu/drm/radeon/ci_dpm.c | 10 --
1 file changed
Remove the function ni_dpm_reset_asic() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/gpu/drm/radeon/ni_dpm.c |6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/gpu
Removes some functions that are not used anywhere:
snd_wm8766_set_power() snd_wm8766_set_master_mode()
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
sound/pci/ice1712/wm8766.c | 16
sound/pci/ice1712
Remove the function pvr2_hdw_cmd_powerdown() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/media/usb/pvrusb2/pvrusb2-hdw.c |5 -
drivers/media/usb/pvrusb2/pvrusb2-hdw.h |3
Removes some functions that are not used anywhere:
lx_buffer_cancel() lx_buffer_free() lx_stream_sample_position()
lx_stream_state() lx_pipe_sample_count()
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
sound/pci
Remove the function trinity_dpm_reset_asic() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/gpu/drm/radeon/trinity_dpm.c | 16
1 file changed, 16 deletions(-)
diff
Remove the function cypress_dpm_reset_asic() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/gpu/drm/radeon/cypress_dpm.c |6 --
1 file changed, 6 deletions(-)
diff --git a
Remove the function pulledbits() that is not used anywhere.
This was partially found by using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist
---
fs/jffs2/compr_rubin.c |5 -
1 file changed, 5 deletions(-)
diff --git a/fs/jffs2/compr_rubin.c b/fs
101 - 200 of 1004 matches
Mail list logo