[PATCH] staging: comedi: drivers: addi_apci_3501: Removed variables that is never used

2015-01-28 Thread Rickard Strandqvist
Variable ar assigned a value that is never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/comedi/drivers/addi_apci_3501.c |3 +-- 1 file

[tip:perf/core] perf tools: Remove some unused functions from color.c

2015-01-28 Thread tip-bot for Rickard Strandqvist
Commit-ID: c8defe249460b6fa3103797273f590372cc62efc Gitweb: http://git.kernel.org/tip/c8defe249460b6fa3103797273f590372cc62efc Author: Rickard Strandqvist AuthorDate: Sat, 20 Dec 2014 13:51:05 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Jan 2015 13:24:32 -0300 perf

[PATCH] staging: iio: adc: mxs-lradc: Change type in printf format string

2015-01-27 Thread Rickard Strandqvist
Wrong type in printf format string, requires 'int' but the argument type is 'unsigned int' This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/iio/adc/mxs-lradc.c |2 +- 1 file changed, 1 inse

[PATCH] staging: iio: resolver: ad2s1210: Change type in printf format string

2015-01-27 Thread Rickard Strandqvist
Wrong type in printf format string, requires 'int' but the argument type is 'unsigned int' This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/iio/resolver/ad2s1210.c |4 ++-- 1 file changed

[PATCH] staging: iio: magnetometer: hmc5843_core: Change type in printf format string

2015-01-27 Thread Rickard Strandqvist
Wrong type in printf format string, requires 'int' but the argument type is 'unsigned int' This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/iio/magnetometer/hmc5843_core.c |2 +- 1 file change

[PATCH] staging: iio: light: tsl2x7x_core: Change type in printf format string

2015-01-27 Thread Rickard Strandqvist
Wrong type in printf format string, requires 'int' but the argument type is 'unsigned int' This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/iio/light/tsl2x7x_core.c |2 +- 1 file changed, 1 inse

[PATCH] staging: iio: light: tsl2583: Change type in printf format string

2015-01-27 Thread Rickard Strandqvist
Wrong type in printf format string, requires 'int' but the argument type is 'unsigned int' This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/iio/light/tsl2583.c |2 +- 1 file changed, 1 inse

[PATCH] staging: iio: impedance-analyzer: ad5933: Change type in printf format string

2015-01-27 Thread Rickard Strandqvist
Wrong type in printf format string, requires 'int' but the argument type is 'unsigned int' This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/iio/impedance-analyzer/ad5933.c |4 ++-- 1 file changed

[PATCH] staging: iio: trigger: iio-trig-periodic-rtc: Change type in printf format string

2015-01-27 Thread Rickard Strandqvist
Wrong type in printf format string, requires 'unsigned int' but the argument type is 'int' This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/iio/trigger/iio-trig-periodic-rtc.c |2 +- 1 file change

[PATCH] staging: lustre: libcfs: nidstrings: Change type in printf format string

2015-01-27 Thread Rickard Strandqvist
Wrong type in printf format string, requires 'unsigned int' but the argument type is 'int' This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/lustre/lustre/libcfs/nidstrings.c | 10 +

[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

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 2/2] ARM: ux500: Remove unused functions and structs

2015-01-21 Thread Rickard Strandqvist
Remove same unused functions and structs. Signed-off-by: Rickard Strandqvist --- arch/arm/mach-ux500/board-mop500-regulators.c | 106 - arch/arm/mach-ux500/board-mop500-regulators.h |5 -- 2 files changed, 111 deletions(-) diff --git a/arch/arm/mach-ux500/board

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

2015-01-21 Thread Rickard Strandqvist
Move struct ab8500_ext_regulator_cfg to the only file that is now used in. Signed-off-by: Rickard Strandqvist --- drivers/regulator/ab8500-ext.c |6 ++ include/linux/regulator/ab8500.h |5 - 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/regulator

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

2015-01-20 Thread Rickard Strandqvist
2015-01-19 11:00 GMT+01:00 Arnd Bergmann : > On Sunday 18 January 2015 18:07:47 Lee Jones wrote: >> On Fri, 02 Jan 2015, Arnd Bergmann wrote: >> >> > On Thursday 01 January 2015 16:40:05 Rickard Strandqvist wrote: >> > > Remove the function mop500_regula

Re: [PATCH] ARM: mach-davinci: Remove driver CDCE949

2015-01-20 Thread Rickard Strandqvist
2015-01-20 14:59 GMT+01:00 Sekhar Nori : > On Monday 19 January 2015 10:29 AM, Sekhar Nori wrote: >> Hi, >> >> On Monday 19 January 2015 05:07 AM, Rickard Strandqvist wrote: >>> Remove driver CDCE949 because it is not used anywhere. >>> >>> Signed-o

[PATCH] ARM: mach-davinci: Remove driver CDCE949

2015-01-18 Thread Rickard Strandqvist
Remove driver CDCE949 because it is not used anywhere. Signed-off-by: Rickard Strandqvist --- arch/arm/mach-davinci/Makefile |2 +- arch/arm/mach-davinci/board-dm646x-evm.c |4 - arch/arm/mach-davinci/cdce949.c | 295 -- arch/arm

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

2015-01-18 Thread Rickard Strandqvist
2015-01-15 3:00 GMT+01:00 Zheng, Lv : > Hi, > >> From: Rickard Strandqvist [mailto:rickard_strandqv...@spectrumdigital.se] >> Sent: Thursday, January 15, 2015 6:50 AM >> >> 2015-01-14 9:55 GMT+01:00 Zheng, Lv : >> > Hi, Rickard >> >

Re: [PATCH] staging: rtl8723au: hal: rtl8723au_led.c: Remove some unused functions

2015-01-18 Thread Rickard Strandqvist
2015-01-17 22:58 GMT+01:00 Greg Kroah-Hartman : > On Sun, Dec 21, 2014 at 01:59:39PM +0100, Rickard Strandqvist wrote: >> Removes some functions that are not used anywhere: >> rtl8723au_DeInitSwLeds() rtl8723au_InitSwLeds() >> >> This was partially found by using a s

[PATCH v2] staging: rtl8188eu: core: rtw_wlan_util: Remove unused functions

2015-01-17 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 v2] staging: rtl8712: recv_linux: Remove unused function

2015-01-17 Thread Rickard Strandqvist
Remove the function r8712_os_read_port() 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/rtl8712/recv_linux.c | 14 -- drivers/staging/rtl8712/recv_osdep.h |1

[PATCH v2] staging: rtl8723au: core: rtw_cmd: Remove unused functions

2015-01-17 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: rtw_set_ch_cmd23a() rtw_cmd_clr_isr23a() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8723au/core/rtw_cmd.c| 61

[PATCH v2] staging: rtl8723au: os_dep: usb_intf: Remove unused functions

2015-01-17 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: rtw_hw_resume23a() rtw_hw_suspend23a() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8723au/include/osdep_intf.h |3 - drivers/staging/rtl8723au

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

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

Re: [PATCH] tipc: link: Remove unused function

2015-01-17 Thread Rickard Strandqvist
2015-01-17 17:55 GMT+01:00 Chris Rorvick : > On Sat, Jan 17, 2015 at 10:13 AM, Rickard Strandqvist > wrote: >> Remove the function tipc_link_get_max_pkt() that is not used anywhere. > > This is already in the next tree: > > commit 54fef04ad05f15984082c225fe47ce6af8e

[PATCH] ALSA: asihpi: asihpi: Remove unused function

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

[PATCH] tipc: link: Remove unused function

2015-01-17 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

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

2015-01-17 Thread Rickard Strandqvist
2015-01-13 4:34 GMT+01:00 Greg Kroah-Hartman : > On Sun, Dec 07, 2014 at 11:02:44PM +0100, Rickard Strandqvist wrote: >> Remove the function MACbCompareContext() that is not used anywhere. >> >> This was partially found by using a static code analysis program called >>

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

2015-01-17 Thread Rickard Strandqvist
2015-01-13 4:43 GMT+01:00 Greg Kroah-Hartman : > On Thu, Jan 01, 2015 at 06:18:32PM +0100, Rickard Strandqvist wrote: >> Removes some functions that are not used anywhere: >> STAvClearAllCounter() STAvClear802_11Counter() >> STAvUpdateTDStatCounterEx() STAvUpdateRDStatCount

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

2015-01-17 Thread Rickard Strandqvist
2015-01-13 4:42 GMT+01:00 Greg Kroah-Hartman : > On Sun, Dec 21, 2014 at 07:03:03PM +0100, Rickard Strandqvist wrote: >> Removes some functions that are not used anywhere: >> SROMbAutoLoad() SROMvReadSubSysVenId() SROMvWriteEtherAddress() >> SROMvWriteAllContent

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

[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

[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] 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] 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/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] 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/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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] [media] usb: as102: as10x_cmd_cfg: Remove unused function

2015-01-11 Thread Rickard Strandqvist
Remove the function as10x_cmd_eLNA_change_mode() 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/as102/as10x_cmd.h |1 - drivers/media/usb/as102/as10x_cmd_cfg.c | 49

[PATCH] ntfs: attrib: Remove unused function

2015-01-11 Thread Rickard Strandqvist
Remove the function ntfs_attr_can_be_resident() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- fs/ntfs/attrib.c | 25 - fs/ntfs/attrib.h |2 -- 2 files changed

[PATCH] x86: platform: uv: tlb_uv: Remove unused function

2015-01-11 Thread Rickard Strandqvist
Remove the function normal_busy() 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/platform/uv/tlb_uv.c | 20 1 file changed, 20 deletions(-) diff --git a/arch

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

2015-01-11 Thread Rickard Strandqvist
Remove the function mls_import_netlbl_cat() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- security/selinux/ss/mls.c | 38 -- security/selinux/ss/mls.h

[PATCH] drm/nouveau/dispnv04/disp: Remove some unused functions

2015-01-11 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: nv04_display_late_takedown() nv04_display_early_init() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/gpu/drm/nouveau/dispnv04/disp.c | 18

[PATCH] x86: xen: mmu: Remove unused function

2015-01-11 Thread Rickard Strandqvist
Remove the function set_pte_mfn() 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/xen/mmu.c |9 - arch/x86/xen/mmu.h |2 -- 2 files changed, 11 deletions(-) diff --git

[PATCH] IB: cxgb3: iwch_cm: Remove some unused functions

2015-01-11 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: iwch_resume_tid() iwch_quiesce_tid() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/infiniband/hw/cxgb3/iwch_cm.c | 42

[PATCH] drm/nouveau/nouveau_bo: Remove unused function

2015-01-11 Thread Rickard Strandqvist
Remove the function nouveau_bo_rd16() 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_bo.c | 12 drivers/gpu/drm/nouveau/nouveau_bo.h |1 - 2

[PATCH] kernel: power: snapshot: Remove unused function

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

[PATCH] uwb: lc-dev: Remove unused function

2015-01-11 Thread Rickard Strandqvist
Remove the function uwb_dev_addr_bcast() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/uwb/lc-dev.c |7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/uwb/lc-dev.c b

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

2015-01-11 Thread Rickard Strandqvist
Remove the function kv_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/kv_dpm.c | 21 - 1 file changed, 21 deletions(-) diff --git

[PATCH] logfs: readwrite: Remove unused function

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

Re: [PATCH] drm: nouveau: core: engine: perfmon: base: Remove unused function

2015-01-11 Thread Rickard Strandqvist
gt; > > On 01/11/2015 07:12 PM, Rickard Strandqvist wrote: >> >> Remove the function nouveau_perfsig_wrap() that is not used anywhere. >> >> This was partially found by using a static code analysis program called >> cppcheck. >> >> Signed-off-by: Rickard

[PATCH] nfs: objlayout: objio_osd: Remove unused function

2015-01-11 Thread Rickard Strandqvist
Remove the function objio_alloc_deviceid_node() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- fs/nfs/objlayout/objio_osd.c | 75 -- 1 file changed

[PATCH] drm: nouveau: core: engine: perfmon: base: Remove unused function

2015-01-11 Thread Rickard Strandqvist
Remove the function nouveau_perfsig_wrap() 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/core/engine/perfmon/base.c | 20 drivers/gpu/drm

[PATCH] x86: kvm: vmx: Remove some unused functions

2015-01-11 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: cpu_has_vmx_eptp_writeback() cpu_has_vmx_eptp_uncacheable() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/x86/kvm/vmx.c | 10 -- 1 file changed, 10

[PATCH] edac: i5100_edac: Remove unused function

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

[PATCH] drm: gma500: psb_irq: Remove unused function

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

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

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

[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

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

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

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

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

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

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