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] arch: ia64: kernel: irq_ia64.c: Remove unused function

2015-01-06 Thread Rickard Strandqvist
2015-01-05 20:33 GMT+01:00 Tony Luck : > On Sat, Dec 20, 2014 at 9:07 AM, Rickard Strandqvist > wrote: >> Remove the function ia64_handle_irq() that is not used anywhere. >> >> This was partially found by using a static code analysis program called >> cppcheck.

Re: [PATCH] tools: perf: util: dso: Remove some unused functions

2015-01-06 Thread Rickard Strandqvist
2015-01-05 8:24 GMT+01:00 Adrian Hunter : > On 02/01/15 23:03, Rickard Strandqvist wrote: >> Removes some functions that are not used anywhere: >> dso__data_size() dso__data_status_seen() >> >> This was partially found by using a static code analysis program called &g

Re: [PATCH] net: wireless: b43legacy: radio.c: Remove unused function

2015-01-06 Thread Rickard Strandqvist
2015-01-05 7:34 GMT+01:00 Rafał Miłecki : > On 3 January 2015 at 13:28, Rickard Strandqvist > wrote: >> 2015-01-02 22:34 GMT+01:00 Rafał Miłecki : >>> >>> 1) I gave you Ack for the changes >>> 2) You could drop "net: wireless: " or better use so

[PATCH] b43legacy: Remove unused function

2015-01-06 Thread Rickard Strandqvist
Remove the function b43legacy_radio_set_tx_iq() 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/b43legacy/radio.c | 19 --- drivers/net/wireless/b43legacy

Re: [PATCH] power: avs: smartreflex: Remove unused function

2015-01-04 Thread Rickard Strandqvist
2015-01-03 18:53 GMT+01:00 Nishanth Menon : > On 16:58-20150103, Rickard Strandqvist wrote: >> Remove the function sr_configure_minmax() that is not used anywhere. >> >> This was partially found by using a static code analysis program called >> cppcheck. >> >

[PATCH] bluetooth: Remove unused function

2015-01-04 Thread Rickard Strandqvist
Remove the function hci_conn_change_link_key() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- include/net/bluetooth/hci_core.h |1 - net/bluetooth/hci_conn.c | 15

[PATCH] wl1251: Remove unused function

2015-01-04 Thread Rickard Strandqvist
Remove the function wl1251_cmd_read_memory() 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/ti/wl1251/cmd.c | 40 -- drivers/net/wireless

[PATCH] media: s5p-jpeg: Remove some unused functions

2015-01-04 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: s5p_jpeg_input_raw_y16() s5p_jpeg_timer_disable() s5p_jpeg_timer_enable() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c

[PATCH] acpica: utpredef: Remove some unused functions

2015-01-04 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: acpi_ut_get_resource_bit_width() acpi_ut_display_predefined_method() acpi_ut_match_resource_name() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/acpi/acpica

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

2015-01-04 Thread Rickard Strandqvist
Remove the function ci_wait_for_smc_inactive() 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/ci_dpm.h |1 - drivers/gpu/drm/radeon/ci_smc.c | 18

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

2015-01-04 Thread Rickard Strandqvist
2015-01-04 7:21 GMT+01:00 Larry Finger : > On 01/03/2015 06:47 PM, Rickard Strandqvist wrote: >> >> Removes some functions that are not used anywhere: >> dma_txflush() dma_txsuspended() >> >> This was partially found by using a static code analysis program called

[PATCH] btrfs: reada: Remove unused function

2015-01-03 Thread Rickard Strandqvist
Remove the function btrfs_reada_detach() 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/ctree.h |1 - fs/btrfs/reada.c |9 + 2 files changed, 1 insertion(+), 9

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

2015-01-03 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: dma_txflush() dma_txsuspended() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/net/wireless/brcm80211/brcmsmac/dma.c | 19 --- drivers/net

[PATCH] soc: intel: sst-haswell-ipc: Remove some unused functions

2015-01-03 Thread Rickard Strandqvist
() sst_hsw_stream_get_read_reg() sst_hsw_stream_get_mixer_id() sst_hsw_stream_get_hw_id() sst_hsw_mixer_set_volume_curve() sst_hsw_mixer_unmute() sst_hsw_mixer_mute() sst_hsw_stream_set_volume_curve() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard

[PATCH] mfd: omap-usb-host: Remove some unused functions

2015-01-03 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: usbhs_readb() usbhs_writeb() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/mfd/omap-usb-host.c | 10 -- 1 file changed, 10 deletions(-) diff --git a

[PATCH] ceph: acl: Remove unused function

2015-01-03 Thread Rickard Strandqvist
Remove the function ceph_get_cached_acl() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- fs/ceph/acl.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/fs/ceph/acl.c b/fs

[PATCH] blackfin: mach-common: ints-priority: Remove unused function

2015-01-03 Thread Rickard Strandqvist
Remove the function bfin_sec_resume() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/blackfin/mach-common/ints-priority.c |8 1 file changed, 8 deletions(-) diff --git a

[PATCH] arm: mach-versatile: core: Remove unused function

2015-01-03 Thread Rickard Strandqvist
Remove the function versatile_leds_event() 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-versatile/core.c | 37 - 1 file changed, 37

[PATCH] scsi: aic7xxx: aic7xxx_core: Remove some unused functions

2015-01-03 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: ahc_outq() ahc_inq() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/scsi/aic7xxx/aic7xxx_core.c | 26 -- drivers/scsi/aic7xxx

[PATCH] power: avs: smartreflex: Remove unused function

2015-01-03 Thread Rickard Strandqvist
Remove the function sr_configure_minmax() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/power/avs/smartreflex.c | 86 - include/linux/power

Re: [PATCH] net: wireless: b43legacy: radio.c: Remove unused function

2015-01-03 Thread Rickard Strandqvist
2015-01-03 15:51 GMT+01:00 Sedat Dilek : > On Sat, Jan 3, 2015 at 3:45 PM, Rickard Strandqvist > wrote: > [ ... ] >>> > I just got one more complaining about my subject-line in "net: wireless: " >>> > I use some sed call for this, so it's easy to fi

Re: [PATCH] net: wireless: b43legacy: radio.c: Remove unused function

2015-01-03 Thread Rickard Strandqvist
2015-01-03 14:19 GMT+01:00 Sedat Dilek : > > On Sat, Jan 3, 2015 at 1:28 PM, Rickard Strandqvist > wrote: > > 2015-01-02 22:34 GMT+01:00 Rafał Miłecki : > >> > >> On 2 January 2015 at 18:46, Rickard Strandqvist > >> wrote: > >> > 2015-01-0

[PATCH v2] arch: arm: mach-omap2: voltage: Remove some unused functions

2015-01-02 Thread Rickard Strandqvist
. Signed-off-by: Rickard Strandqvist --- arch/arm/mach-omap2/powerdomain.c |1 - arch/arm/mach-omap2/voltage.c | 110 - arch/arm/mach-omap2/voltage.h | 13 - 3 files changed, 124 deletions(-) diff --git a/arch/arm/mach-omap2/powerdomain.c b/arch

[PATCH] media: i2c: adv7604: Remove some unused functions

2015-01-02 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: test_read() edid_read_block() dpp_write() dpp_read() esdp_write() esdp_read() cec_write_clr_set() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/media/i2c

[PATCH] arch: m68k: 68360: config: Remove unused function

2015-01-02 Thread Rickard Strandqvist
Remove the function BSP_set_clock_mmss() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/m68k/68360/config.c | 13 - 1 file changed, 13 deletions(-) diff --git a/arch/m68k

[PATCH] gpu: drm: armada: armada_drv: Remove unused function

2015-01-02 Thread Rickard Strandqvist
Remove the function armada_drm_vbl_event_remove_unlocked() 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/armada/armada_drm.h |2 -- drivers/gpu/drm/armada/armada_drv.c

[PATCH] tools: perf: util: dso: Remove some unused functions

2015-01-02 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: dso__data_size() dso__data_status_seen() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- tools/perf/util/dso.c | 34 -- tools/perf/util

[PATCH] firewire: ohci: Remove unused function

2015-01-02 Thread Rickard Strandqvist
Remove the function ar_prev_buffer_index() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/firewire/ohci.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/firewire

[PATCH] acpi: acpica: utstate: Remove unused function

2015-01-02 Thread Rickard Strandqvist
Remove the function acpi_ut_create_pkg_state_and_push() 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/acutils.h |8 drivers/acpi/acpica/utstate.c | 33

[PATCH] gpu: drm: armada: armada_output: Remove some unused functions

2015-01-02 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: armada_drm_encoder_mode_fixup() armada_drm_encoder_commit() armada_drm_encoder_prepare() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/gpu/drm/armada

[PATCH] media: platform: s5p-jpeg: jpeg-hw-exynos4: Remove some unused functions

2015-01-02 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: exynos4_jpeg_set_timer_count() exynos4_jpeg_get_frame_size() exynos4_jpeg_set_sys_int_enable() exynos4_jpeg_get_fifo_status() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist

[PATCH] arch: parisc: kernel: smp: Remove unused function

2015-01-02 Thread Rickard Strandqvist
Remove the function smp_send_start() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/parisc/kernel/smp.c |3 --- 1 file changed, 3 deletions(-) diff --git a/arch/parisc/kernel/smp.c b

[PATCH] arch: x86: kernel: traps: Remove unused function

2015-01-02 Thread Rickard Strandqvist
Remove the function conditional_cli() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/x86/kernel/traps.c |6 -- 1 file changed, 6 deletions(-) diff --git a/arch/x86/kernel/traps.c

[PATCH] scsi: aic7xxx: aic7770: Remove unused function

2015-01-02 Thread Rickard Strandqvist
Remove the function aic7770_find_device() 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/aic7xxx/aic7770.c | 14 -- drivers/scsi/aic7xxx/aic7xxx.h |1 - 2 files

[PATCH] net: ethernet: cisco: enic: enic_dev: Remove some unused functions

2015-01-02 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: enic_dev_enable2_done() enic_dev_enable2() enic_dev_deinit_done() enic_dev_init_prov2() enic_vnic_dev_deinit() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers

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

2015-01-02 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] arch: parisc: kernel: sys_parisc: Remove some unused functions

2015-01-02 Thread Rickard Strandqvist
called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/parisc/kernel/sys_parisc.c | 81 --- 1 file changed, 81 deletions(-) diff --git a/arch/parisc/kernel/sys_parisc.c b/arch/parisc/kernel/sys_parisc.c index e1ffea2..65ab69d 100644 --- a/arch/parisc

[PATCH] sound: pci: hda: patch_analog: Remove some unused functions

2015-01-02 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: ad198x_ch_mode_put() ad198x_ch_mode_info() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- sound/pci/hda/patch_analog.c | 21 - 1 file changed, 21

[PATCH] acpi: acpica: utuuid: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function acpi_ut_convert_string_to_uuid() 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/acutils.h |5 - drivers/acpi/acpica/utuuid.c | 29

[PATCH] arch: mips: mm: page: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function sb1_dma_init() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/mips/mm/page.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/arch/mips/mm/page.c

[PATCH] isdn: hisax: hfc4s8s_l1: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: Read_hfc32() Write_hfc32() Write_hfc16() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/isdn/hisax/hfc4s8s_l1.c | 21 - 1 file changed, 21

[PATCH] arch: mips: net: bpf_jit: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function emit_daddiu() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/mips/net/bpf_jit.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/arch/mips/net

[PATCH] usb: phy: phy-fsl-usb: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: fsl_otg_tick_timer() view_ulpi() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/usb/phy/phy-fsl-usb.c | 35 --- 1 file changed

[PATCH] video: fbdev: exynos: exynos_mipi_dsi_common: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: exynos_mipi_dsi_fifo_clear() exynos_mipi_dsi_set_data_transfer_mode() exynos_mipi_dsi_enable_frame_done_int() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- .../video

[PATCH] arch: mips: ath79: gpio: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: ath79_gpio_function_disable() ath79_gpio_function_enable() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/mips/ath79/common.h |2 -- arch/mips/ath79/gpio.c

[PATCH] arch: arm: mm: ioremap: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function pci_ioremap_set_mem_type() 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/include/asm/io.h |6 -- arch/arm/mm/ioremap.c |5 - 2 files changed

[PATCH] arch: arm: mm: cache-feroceon-l2: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: l2_inv_pa() l2_clean_pa() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/arm/mm/cache-feroceon-l2.c | 10 -- 1 file changed, 10 deletions(-) diff --git

[PATCH] arch: arm: mach-rpc: ecard: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: ecard_disablefiq() ecard_enablefiq() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/arm/mach-rpc/ecard.c | 29 - 1 file changed, 29

[PATCH] arch: blackfin: kernel: kgdb: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function kgdb_post_primary_code() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/blackfin/kernel/kgdb.c | 13 - 1 file changed, 13 deletions(-) diff --git a/arch

[PATCH] gpu: drm: qxl: qxl_fb: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: qxl_fbdev_qobj_is_fb() qxl_get_handle_for_primary_fb() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/gpu/drm/qxl/qxl_drv.h |4 drivers/gpu/drm/qxl

[PATCH] md: dm-thin-metadata: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function dm_pool_get_data_block_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/md/dm-thin-metadata.c |9 - drivers/md/dm-thin-metadata.h |2 -- 2

[PATCH] arch: avr32: mach-at32ap: at32ap700x: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function set_ebi_sfr_bits() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/avr32/mach-at32ap/at32ap700x.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/arch

[PATCH] media: platform: vsp1: vsp1_hsit: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function vsp1_hsit_read() 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/platform/vsp1/vsp1_hsit.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers

[PATCH] tools: perf: util: session: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function perf_session__peek_event() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- tools/perf/util/session.c | 55 - tools/perf/util

[PATCH] mfd: db8500-prcmu: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function prcmu_get_boot_status() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/mfd/db8500-prcmu.c |9 - 1 file changed, 9 deletions(-) diff --git a/drivers/mfd

[PATCH] arch: mips: kernel: traps: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: do_bp() do_ftlb() do_dsp() do_mcheck() do_mdmx() do_msa() do_msa_fpe() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/mips/kernel/traps.c | 185

[PATCH] mailbox: pl320-ipc: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: clear_destination() set_destination() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/mailbox/pl320-ipc.c | 12 1 file changed, 12 deletions

[PATCH] arch: mips: fw: arc: misc.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: ArcGetSystemId() ArcSaveConfiguration() ArcRestart() ArcPowerDown() ArcHalt() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/mips/fw/arc/misc.c | 40

[PATCH] arch: arm: nwfpe: softfloat.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/arm/nwfpe/softfloat.c | 320 arch/arm/nwfpe/softfloat.h | 11 -- 2 files changed, 331 deletions(-) diff --git a/arch/arm/nwfpe

[PATCH] staging: vt6655: mib.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: STAvClearAllCounter() STAvClear802_11Counter() STAvUpdateTDStatCounterEx() STAvUpdateRDStatCounterEx() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/staging

[PATCH] acpi: acpica: utmisc.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function acpi_ut_is_aml_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/acutils.h |2 -- drivers/acpi/acpica/utmisc.c | 28

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

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: voltdm_for_each_pwrdm() omap_change_voltscale_method() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/arm/mach-omap2/voltage.c | 65

[PATCH] gpu: drm: qxl: qxl_cmd.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: qxl_io_flush_surfaces() qxl_io_flush_release() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/gpu/drm/qxl/qxl_cmd.c | 10 -- drivers/gpu/drm/qxl

[PATCH] power: ab8500_fg.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function ab8500_fg_reinit() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/power/ab8500_fg.c| 14 -- include/linux/mfd/abx500/ab8500-bm.h |1

[PATCH] media: pci: saa7134: saa7134-video.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function saa7134_queue() 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/pci/saa7134/saa7134-video.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers

[PATCH] scsi: cxgbi: libcxgbi.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: csk_print_ip() csk_print_port() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/scsi/cxgbi/libcxgbi.c | 28 1 file changed, 28

[PATCH] arch: m68k: mac: misc.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: mac_pram_write() mac_pram_read() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/m68k/mac/misc.c | 46 -- 1 file

[PATCH] net: fddi: skfp: smt.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function smt_ifconfig() 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/fddi/skfp/smt.c | 12 1 file changed, 12 deletions(-) diff --git a/drivers/net

[PATCH] net: ethernet: micrel: ksz884x.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
() port_cfg_ins_tag() sw_flush_dyn_mac_table() port_cfg_tx() port_cfg_rx() port_chk_force_flow_ctrl() port_chk_back_pressure() port_cfg_force_flow_ctrl() port_chk_broad_storm() hw_ena_intr_bit() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist

[PATCH] block: rbd.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function copy_token() 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/rbd.c | 30 -- 1 file changed, 30 deletions(-) diff --git a/drivers

[PATCH] gpu: drm: gma500: mmu.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function psb_get_default_pd_addr() 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/mmu.c |9 - 1 file changed, 9 deletions(-) diff --git a/drivers

[PATCH] media: pci: mantis: mantis_core.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function write_eeprom_byte() 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/pci/mantis/mantis_core.c | 23 --- 1 file changed, 23 deletions

[PATCH] gpu: drm: qxl: qxl_gem.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: qxl_gem_fini() qxl_gem_init() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/gpu/drm/qxl/qxl_drv.h |2 -- drivers/gpu/drm/qxl/qxl_gem.c | 11

[PATCH] net: ethernet: chelsio: cxgb3: mc5.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: dbgi_rd_rsp3() dbgi_wr_addr3() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/net/ethernet/chelsio/cxgb3/mc5.c | 16 1 file changed, 16

[PATCH] arch: m68k: mvme147: config.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function mvme147_init_console_port() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/m68k/mvme147/config.c |5 - 1 file changed, 5 deletions(-) diff --git a/arch/m68k

[PATCH] arch: mips: lasat: sysctl.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function proc_dolasatint() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/mips/lasat/sysctl.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/arch/mips

[PATCH] misc: sgi-gru: gruhandles.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
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 --- drivers/misc/sgi-gru/gruhandles.c |6 -- drivers/misc/sgi-gru/gruhandles.h |1 - 2 files changed, 7

[PATCH] arch: arm: plat-omap: dma.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function get_gdma_dev() 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/plat-omap/dma.c |8 1 file changed, 8 deletions(-) diff --git a/arch/arm/plat-omap

[PATCH] staging: gs_fpgaboot: io.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function bitswap() 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/gs_fpgaboot/io.c |9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging

[PATCH] media: i2c: adv7604.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: vblanking() hblanking() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/media/i2c/adv7604.c | 10 -- drivers/media/i2c/adv7842.c | 10

[PATCH] net: wireless: b43legacy: radio.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function b43legacy_radio_set_tx_iq() 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/b43legacy/radio.c | 19 --- drivers/net/wireless/b43legacy

[PATCH] arch: cris: arch-v32: mach-a3: arbiter.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function crisv32_arbiter_deallocate_bandwidth() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/cris/arch-v32/mach-a3/arbiter.c | 30 -- arch/cris

[PATCH] arch: arm: mach-ux500: board-mop500-regulators.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function mop500_regulator_init() 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-ux500/board-mop500-regulators.c | 41 - arch/arm/mach-ux500

[PATCH] arch: m68k: atari: atakeyb.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: atari_kbd_leds() ikbd_exec() ikbd_mem_read() ikbd_mem_write() ikbd_clock_get() ikbd_clock_set() ikbd_pause() ikbd_resume() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist

[PATCH] arch: mn10300: boot: compressed: misc.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: close_output_buffer_if_we_run_high() setup_output_buffer_if_we_run_high() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/mn10300/boot/compressed/misc.c | 34

[PATCH] video: fbdev: omap2: dss: dss.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function dss_get_hdmi_venc_clk_source() 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/omap2/dss/dss.c | 14 -- drivers/video/fbdev/omap2/dss/dss.h

[PATCH] tools: perf: util: annotate.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function hist_entry__annotate() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- tools/perf/util/annotate.c |5 - tools/perf/util/annotate.h |2 -- 2 files changed, 7

[PATCH] net: wireless: ipw2x00: ipw2100.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: write_nic_dword_auto_inc() write_nic_auto_inc_address() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/net/wireless/ipw2x00/ipw2100.c | 11 --- 1 file

[PATCH] arch: mips: pci: pci-ip27.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function pci_enable_swapping() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/mips/pci/pci-ip27.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/arch/mips

[PATCH] video: fbdev: omap2: dss: dispc.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/video/fbdev/omap2/dss/dispc.c | 124 - drivers/video/fbdev/omap2/dss/dss.h | 12 2 files changed, 136 deletions(-) diff --git a/drivers/video/fbdev/omap2/dss/dispc.c b

[PATCH] crypto: amcc: crypto4xx_sa.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function get_dynamic_sa_offset_iv_field() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/crypto/amcc/crypto4xx_sa.c | 23 --- 1 file changed, 23

[PATCH] sound: drivers: portman2x4.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: portman_read_data() portman_read_command() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- sound/drivers/portman2x4.c | 10 -- 1 file changed, 10 deletions

[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

[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 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 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] 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] 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

[tip:x86/platform] x86/platform: Remove unused function from apb_timer.c

2014-12-23 Thread tip-bot for Rickard Strandqvist
Commit-ID: 2b261f9f7bd9333e62140ca7e02a2f4ffec5e44f Gitweb: http://git.kernel.org/tip/2b261f9f7bd9333e62140ca7e02a2f4ffec5e44f Author: Rickard Strandqvist AuthorDate: Sun, 21 Dec 2014 13:58:18 +0100 Committer: Ingo Molnar CommitDate: Tue, 23 Dec 2014 10:43:35 +0100 x86/platform

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