[PATCH] arch: arm: mach-omap1: irq.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] arch: arm: mach-omap1: timer32k.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] gpu: drm: gma500: tc35876x-dsi-lvds.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] gpu: drm: i915: intel_sideband.c: Remove some unused functions

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] arch: arm: mach-omap2: powerdomain.c: Remove some unused functions

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] sound: pci: asihpi: hpifunc.c: Remove some unused functions

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] arch: powerpc: kvm: book3s_32_mmu.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] arch: arm: mach-omap2: omap_hwmod.c: Remove some unused functions

2014-12-07 Thread Rickard Strandqvist
() 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

[PATCH] scsi: bfa: bfa_fcpim.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] arch: powerpc: kvm: book3s.c: Remove some unused functions

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] staging: rtl8188eu: hal: rtl8188e_cmd.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] arch: powerpc: kernel: sys_ppc32.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] arch: powerpc: mm: slice.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] arch: powerpc: kvm: book3s_pr.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] staging: rtl8188eu: hal: rtl8188e_hal_init.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] scsi: bfa: bfa_fcbuild.c: Remove some unused functions

2014-12-07 Thread Rickard Strandqvist
() 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

[PATCH] gpu: drm: i915: intel_display.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] arch: powerpc: kernel: traps.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] arch: openrisc: kernel: traps.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] arch: arm: mach-omap2: omap-pm-noop.c: Remove some unused functions

2014-12-07 Thread Rickard Strandqvist
() 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

[PATCH] tools: testing: selftests: powerpc: pmu: ebb: ebb.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] arch: frv: mm: extable.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] arch: mn10300: kernel: traps.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] gpu: drm: i915: intel_dp.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] arch: arm: mach-omap2: clkt2xxx_apll.c: Remove some unused functions

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] gpu: drm: i915: intel_dsi_cmd.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] staging: rtl8188eu: os_dep: usb_ops_linux.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] net: wireless: rtlwifi: rtl8192de: fw.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] staging: vt6655: mac.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] arch: powerpc: kernel: signal_32.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] scsi: bfa: bfad.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] arch: powerpc: kernel: smp.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] arch: arm: mach-omap2: cm33xx.c: Remove some unused functions

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] staging: rtl8192e: rtl8192e: rtl_cam.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] arch: powerpc: kvm: book3s_paired_singles.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] arch: arm: mach-omap2: dpll44xx.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] arch: powerpc: kernel: vio.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] tools: testing: selftests: powerpc: pmu: ebb: trace.c: Remove some unused functions

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] gpu: drm: i915: intel_dsi_pll.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

Re: [PATCH] arch: powerpc: kernel: signal_32.c: Remove unused function

2014-12-07 Thread Rickard Strandqvist
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

[PATCH] staging: ft1000: ft1000-usb: ft1000_hw.c: Fix a potential memory leak.

2014-12-27 Thread Rickard Strandqvist
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

[PATCH] staging: unisys: uislib: uisutils.c: Fix a missing va_end

2014-12-27 Thread Rickard Strandqvist
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

[PATCH v2] staging: ft1000: ft1000-usb: ft1000_hw.c: Fix a potential memory leak.

2014-12-29 Thread Rickard Strandqvist
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

[PATCH v2] sound: pci: asihpi: hpifunc.c: Remove some unused functions

2014-12-31 Thread Rickard Strandqvist
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

[PATCH] net: ethernet: intel: i40e: i40e_fcoe.c: Remove unused function

2014-12-31 Thread Rickard Strandqvist
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

[PATCH] acpi: acpica: utstring.c: Remove some unused functions

2014-12-31 Thread Rickard Strandqvist
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

Re: [PATCH 1/2] ARM: ux500: Move struct

2015-01-24 Thread 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

[PATCH v3] staging: rtl8188eu: core: rtw_wlan_util: Remove some unused functions

2015-01-25 Thread Rickard Strandqvist
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

[PATCH] video: fbdev: tridentfb: Remove unused function

2015-01-13 Thread Rickard Strandqvist
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

[PATCH] tipc: link: Remove unused function

2015-01-13 Thread Rickard Strandqvist
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

[PATCH] NFC: hci: llc: Remove unused function

2015-01-13 Thread Rickard Strandqvist
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

[PATCH] kernel: events: core: Remove some unused functions

2015-01-13 Thread Rickard Strandqvist
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

[PATCH] drm/nouveau/nvif/notify: Remove unused function

2015-01-13 Thread Rickard Strandqvist
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

[PATCH] ACPICA: rsdump: Remove some unused functions

2015-01-13 Thread Rickard Strandqvist
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

[PATCH] atm: lanai: Remove unused function

2015-01-13 Thread Rickard Strandqvist
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

[PATCH] drm/radeon/rv770_dpm: Remove some unused functions

2015-01-13 Thread Rickard Strandqvist
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

[PATCH] ACPICA: tbinstal: Remove unused function

2015-01-13 Thread Rickard Strandqvist
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

[PATCH] atm: horizon: Remove some unused functions

2015-01-13 Thread Rickard Strandqvist
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

[PATCH] drm/radeon/sumo_dpm: Remove some unused functions

2015-01-13 Thread Rickard Strandqvist
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

[PATCH] btrfs: transaction: Remove unused function

2015-01-13 Thread Rickard Strandqvist
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

[PATCH] drm/radeon/rv515: Remove unused function

2015-01-13 Thread Rickard Strandqvist
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

[PATCH] drm/radeon/radeon_fb: Remove unused function

2015-01-13 Thread Rickard Strandqvist
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

[PATCH] drm/radeon/radeon_i2c: Remove unused function

2015-01-13 Thread Rickard Strandqvist
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

[PATCH] rsxx: cregs: Remove unused function

2015-01-13 Thread Rickard Strandqvist
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

[PATCH] nfsd: nfs4state: Remove unused function

2015-01-13 Thread Rickard Strandqvist
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

Re: [PATCH] selinux: ss: mls: Remove unused function

2015-01-13 Thread Rickard Strandqvist
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

Re: [PATCH] gpu: drm: nouveau: nvif: device: Remove unused function

2015-01-13 Thread Rickard Strandqvist
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/ >

Re: [Xen-devel] [PATCH] x86: xen: mmu: Remove unused function

2015-01-13 Thread Rickard Strandqvist
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

Re: [PATCH] acpica: utpredef: Remove some unused functions

2015-01-14 Thread Rickard Strandqvist
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- >>

Re: [PATCH] arch: arm: mach-davinci: cdce949.c: Remove unused function

2015-01-14 Thread Rickard Strandqvist
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

Re: [PATCH] brcm80211: brcmsmac: dma: Remove some unused functions

2015-01-06 Thread Rickard Strandqvist
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

Re: [PATCH] net: wireless: rtlwifi: btcoexist: halbtc8821a2ant: Remove some unused functions

2015-01-09 Thread Rickard Strandqvist
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

Re: [PATCH] brcm80211: brcmsmac: dma: Remove some unused functions

2015-01-09 Thread Rickard Strandqvist
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

[PATCH 1/3] rtlwifi: btcoexist: Remove some unused functions

2015-01-10 Thread Rickard Strandqvist
() 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

[PATCH 3/3] rtlwifi: btcoexist: Remove some unused functions

2015-01-10 Thread 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

[PATCH 2/3] rtlwifi: btcoexist: Remove some unused functions

2015-01-10 Thread Rickard Strandqvist
-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

[PATCH] sound: firewire: fireworks: fireworks_command: Remove unused function

2015-01-10 Thread Rickard Strandqvist
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

[PATCH] lockd: xdr: Remove unused function

2015-01-10 Thread Rickard Strandqvist
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

Re: [PATCH 1/3] rtlwifi: btcoexist: Remove some unused functions

2015-01-11 Thread Rickard Strandqvist
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

[PATCH] ocfs2: xattr: Remove unused function

2015-01-11 Thread Rickard Strandqvist
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

[PATCH] net: xfrm: xfrm_algo: Remove unused function

2015-01-11 Thread Rickard Strandqvist
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

[PATCH] infiniband: core: cm: Remove unused function

2015-01-11 Thread Rickard Strandqvist
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

[PATCH] ocfs2: quota_local: Remove unused function

2015-01-11 Thread Rickard Strandqvist
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

[PATCH] gpu: drm: radeon: radeon_object: Remove unused function

2015-01-11 Thread Rickard Strandqvist
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

[PATCH] gpu: drm: nouveau: nvif: device: Remove unused function

2015-01-11 Thread Rickard Strandqvist
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

[PATCH] drm: radeon: btc_dpm: Remove unused function

2015-01-11 Thread Rickard Strandqvist
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

[PATCH] drm: nouveau: nouveau_gem: Remove unused function

2015-01-11 Thread Rickard Strandqvist
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

[PATCH] IB: qib: qib_iba7322: Remove unused function

2015-01-11 Thread Rickard Strandqvist
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

[PATCH] net: sched: sch_teql: Remove unused function

2015-01-11 Thread Rickard Strandqvist
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

[PATCH] ALSA: lola: lola_mixer: Remove some unused functions

2015-01-11 Thread Rickard Strandqvist
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

[PATCH] ata: libata-core: Remove unused function

2015-01-11 Thread Rickard Strandqvist
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

[PATCH] ocfs2: dlm: dlmdomain: Remove unused function

2015-01-11 Thread Rickard Strandqvist
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

[PATCH] drm: radeon: ci_dpm: Remove some unused functions

2015-01-11 Thread Rickard Strandqvist
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

[PATCH] drm: radeon: ni_dpm: Remove unused function

2015-01-11 Thread Rickard Strandqvist
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

[PATCH] ALSA: ice1712: wm8766: Remove some unused functions

2015-01-11 Thread Rickard Strandqvist
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

[PATCH] [media] usb: pvrusb2: pvrusb2-hdw: Remove unused function

2015-01-11 Thread Rickard Strandqvist
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

[PATCH] ALSA: lx6464es: lx_core: Remove some unused functions

2015-01-11 Thread Rickard Strandqvist
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

[PATCH] drm: radeon: trinity_dpm: Remove unused function

2015-01-11 Thread Rickard Strandqvist
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

[PATCH] drm: radeon: cypress_dpm: Remove unused function

2015-01-11 Thread Rickard Strandqvist
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

[PATCH] jffs2: compr_rubin: Remove unused function

2015-01-11 Thread Rickard Strandqvist
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

<    1   2   3   4   5   6   7   8   9   10   >