Skip to content
Permalink
Fabio-M-De-Fra…
Switch branches/tags

Commits on Apr 11, 2021

  1. staging: rtl8192u: Remove function

    Remove cmpk_handle_query_config_rx() because it just initializes a local
    variable and then returns "void".
    
    Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
    xp4ns3 authored and intel-lab-lkp committed Apr 11, 2021
  2. staging: rtl8723bs: remove more empty if blocks after DBG_8192C deletion

    remove more empty if-blocks after DBG_8192C deletion.
    
    Reported-by: kernel test robot <lkp@intel.com>
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/99b111d2bac822b9dc7ff6e1cfd3d3efc62ef836.1618064275.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  3. staging: rtl8723bs: remove more unnecessary parentheses

    remove more unnecessary parentheses after
    DBG_8192C deletion.
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/c730d2719cb2ed385dd55811d6e205c6c31f2355.1618064275.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  4. staging: rtl8723bs: fix comparison to true issue

    fix following post-commit hook checkpatch issue:
    
    CHECK: Using comparison to true is error prone
    136: FILE: drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:
    2497:
    +			if (psta->dot8021xalg != 1 ||
    	psta->bpairwise_key_installed == true) {
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/680d86950d760003a694f8880c0a912a9d815a5e.1618064275.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  5. staging: rtl8723bs: remove empty else block in os_dep/ioctl_cfg80211.c

    remove empty else-block
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/1bee993834410c2c11a6799e1868589efc1334f6.1618064275.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  6. staging: rtl8723bs: remove unnecessary parentheses in os_dep/ioctl_cf…

    …g80211.c
    
    fix following post-commit hook checkpatch issue:
    
    WARNING: braces {} are not necessary for single statement blocks
    94: FILE: drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:1225:
    +		if (pwdev_priv->scan_request->wiphy == pwdev_priv->rtw_wdev->wiphy)
     		{
     			cfg80211_scan_done(pwdev_priv->scan_request, &info);
     		}
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/fabc590b9f74f687cc0f7ea978577f0357df2974.1618064275.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  7. staging: rtl8723bs: put constant on the right side of a test in os_de…

    …p/ioctl_cfg80211.c
    
    fix following post-commit hook checkpatch issue:
    
    CHECK: Comparison to NULL could be written "psta"
    72: FILE: drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:854:
    +			if (psta != NULL) {
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/5ac547f3a4bd228f372da7057bbfb3cac1535857.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  8. staging: rtl8723bs: remove empty if and else blocks

    remove if and else blocks after DBG_8192C removal
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/2d2e09d5033bda1ceb77576e582ecf1dcfccf428.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  9. staging: rtl8723bs: put constant on the right side of the test

    fix following post-commit hook checpatch issues:
    
    WARNING: Comparisons should place the constant on the right side of the test
    287: FILE: drivers/staging/rtl8723bs/hal/sdio_halinit.c:738:
    +	if (_SUCCESS != ret)
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/e19cff736413714dea4265c17b512882d051a311.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  10. staging: rtl8723bs: split long line

    fix following post-commit hook checkpatch issue:
    
    WARNING: line length of 103 exceeds 100 columns
    168: FILE: drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c:1086:
    +			if (efuse_OneByteRead(padapter, efuse_addr, &efuse_data, bPseudoTest) == false)
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/28c078c685059c9b883b563f2c08cfb1d49cb82c.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  11. staging: rtl8723bs: put spaces around operators

    fix following post-commit hook checkpatch issues:
    
    CHECK: spaces preferred around that '+' (ctx:VxV)
    87: FILE: drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c:746:
    +	if ((_offset+_size_byte) > EFUSE_MAX_MAP_LEN)
    --
    CHECK: spaces preferred around that '+' (ctx:VxV)
    105: FILE: drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c:847:
    +	if ((_offset+_size_byte) > EFUSE_BT_MAP_LEN)
    --
    CHECK: spaces preferred around that '-' (ctx:VxV)
    133: FILE: drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c:906:
    +		if ((eFuse_Addr-1) < total)
    --
    CHECK: spaces preferred around that '|' (ctx:VxV)
    392: FILE: drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:2485:
    +	if (check_fwstate(pmlmepriv, (_FW_LINKED|WIFI_AP_STATE)) != true)
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/65b7cf4b1ae3cea25a316f3c9f56c697ee7be8af.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  12. staging: rtl8723bs: fix comparison to null

    fix following post-commit hook checkpatch issues:
    
    CHECK: Comparison to NULL could be written "!pmlmepriv->wps_probe_req_ie"
    348: FILE: drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:1319:
    +			if (pmlmepriv->wps_probe_req_ie == NULL)
    
    CHECK: Comparison to NULL could be written "!dvobj"
    459: FILE: drivers/staging/rtl8723bs/os_dep/sdio_intf.c:184:
    +	if (dvobj == NULL)
    
    CHECK: Comparison to NULL could be written "!padapter"
    470: FILE: drivers/staging/rtl8723bs/os_dep/sdio_intf.c:231:
    +	if (padapter == NULL)
    
    CHECK: Comparison to NULL could be written "!padapter"
    481: FILE: drivers/staging/rtl8723bs/os_dep/sdio_intf.c:240:
    +	if (padapter == NULL)
    
    CHECK: Comparison to NULL could be written "!padapter"
    492: FILE: drivers/staging/rtl8723bs/os_dep/sdio_intf.c:256:
    +	if (padapter == NULL)
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/2c7557a465aeda7fb6989df30c6250f9ec56ebe1.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  13. staging: rtl8723bs: remove unnecessary bracks

    remove unnecessary bracks in if-else blocks
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/812e5e0dcb78e49568276237b68dc6f9632c198d.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  14. staging: rtl8723bs: remove commented out DEBUG_CFG80211 symbol defini…

    …tion
    
    remove commented out DEBUG_CFG80211 symbol definition.
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/b884ecb5c83c222f0b48839f89e53c45f4489e06.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  15. staging: rtl8723bs: remove empty ifdef blocks conditioned to DEBUG_CF…

    …G80211 definition
    
    remove empty ifdef blocks conditioned to DEBUG_CFG80211
    definition.
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/7c4485a9d02e8c553c1d81f8b98c8479f481e54c.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  16. staging: rtl8723bs: remove commented out SDIO_DEBUG_IO symbol definition

    remove commented out SDIO_DEBUG_IO symbol definition.
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/7a45b1419bcf4eb2abc25d661acae77018432e46.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  17. staging: rtl8723bs: remove code block guarded by undefined SDIO_DEBUG_IO

    remove code block guarded by SDIO_DEBUG_IO symbol.
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/ee77c4b4e6fbba8e0182e9558f793c88cf398cb5.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  18. staging: rtl8723bs: remove empty code block guarded by DBG_CCX

    remove code block guarded by DBG_CCX symbol, left empty
    after DBG_8192C removal.
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/b9ff4d7f14decf33064c30b307c3b20494aecbb2.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  19. staging: rtl8723bs: remove code blocks guarded by DEBUG symbol

    remove code blocks guarded by DEBUG symbol
    remove undefinition of DEBUG
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/381da3f0c1ddf825b2aa7cbfd074ee2bf42aac4f.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  20. staging: rtl8723bs: remove commented out DEBUG_RTL871X definition

    remove commented out DEBUG_RTL871X definition
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/9d04ab2b645e242e35d31abbb1a301e2ad8c4401.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  21. staging: rtl8723bs: remove unused code blocks guarded by DEBUG_RTL871X

    remove unused code blocks guarded by never set DEBUG_RTL871X
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/c7b590b7ae7fad08cd913462ab385db9230ede4d.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  22. staging: rtl8723bs: put spaces around operators

    fix following post-commit hook checkpatch issue:
    
    CHECK: spaces preferred around that '+' (ctx:VxV)
    89: FILE: drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:2431:
    +	rtw_get_wps_ie(pbuf+_FIXED_IE_LENGTH_, ;
     	                   ^
    len-_FIXED_IE_LENGTH_, NULL, &wps_ielen)
    
    CHECK: spaces preferred around that '-' (ctx:VxV)
    89: FILE: drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:2431:
    +	rtw_get_wps_ie(pbuf+_FIXED_IE_LENGTH_, len-_FIXED_IE_LENGTH_,
    	                                          ^
    NULL, &wps_ielen);
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/35c6c5efa2661c6fd9d40c3a681eb8470c5015e6.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  23. staging: rtl8723bs: remove all if-blocks left empty by DBG_8192C-remo…

    …ve coccinelle script
    
    remove all empty if blocks left empty by coccinelle
    script for DBG_8192C macro removal.
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/1676083964fe176e996c2c05dfdcb723b49febb6.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  24. staging: rtl8723bs: remove DBG_8192C macro definitions

    remove all DBG_8192C macro definitions.
    
    Macro DBG_8192C belongs to a family of verbose
    private tracing macros.
    
    The default behaviour is _do nothing_, to activate
    it one should define DEBUG symbol by hand.
    
    So just remove it
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/e7259eeb5927d48a2920548b92dc507befa5e6af.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  25. staging: rtl8723bs: remove all commented out DBG_8192C logs

    remove all commented out DBG_8192C logs.
    
    Macro DBG_8192C belongs to a family of verbose
    private tracing macros.
    
    The default behaviour is _do nothing_, to activate
    it one should define DEBUG symbol by hand.
    
    So just remove it
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/d954fbde0ae689cd053a57f57f954f14b5d013cb.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  26. staging: rtl8723bs: remove all DBG_8192C logs

    remove all DBG_8192C logs.
    
    Macro DBG_8192C belongs to a family of verbose
    private tracing macros.
    
    The default behaviour is _do nothing_, to activate
    it one should define DEBUG symbol by hand.
    
    So just remove it with the following semantic patch:
    
    @@
    expression a, b, c, d, e, f, g, h, i, j, k;
    constant B, C, D, E;
    @@
    
    (
    -	DBG_8192C(a);
    |
    -	DBG_8192C(a, b);
    |
    -	DBG_8192C(a, B);
    |
    -	DBG_8192C(a, b, c);
    |
    -	DBG_8192C(a, B, c);
    |
    -	DBG_8192C(a, b, C);
    |
    -	DBG_8192C(a, B, C);
    |
    -	DBG_8192C(a, b, c, d);
    |
    -	DBG_8192C(a, B, c, d);
    |
    -	DBG_8192C(a, b, C, d);
    |
    -	DBG_8192C(a, b, c, D);
    |
    -	DBG_8192C(a, B, C, d);
    |
    -	DBG_8192C(a, B, c, D);
    |
    -	DBG_8192C(a, b, C, D);
    |
    -	DBG_8192C(a, B, C, D);
    |
    -	DBG_8192C(a, b, c, d, e);
    |
    -	DBG_8192C(a, B, c, d, e);
    |
    -	DBG_8192C(a, b, C, d, e);
    |
    -	DBG_8192C(a, b, c, D, e);
    |
    -	DBG_8192C(a, b, c, d, E);
    |
    -	DBG_8192C(a, B, C, d, e);
    |
    -	DBG_8192C(a, B, c, D, e);
    |
    -	DBG_8192C(a, B, c, d, E);
    |
    -	DBG_8192C(a, b, C, D, e);
    |
    -	DBG_8192C(a, b, C, d, E);
    |
    -	DBG_8192C(a, b, c, D, E);
    |
    -	DBG_8192C(a, B, C, D, e);
    |
    -	DBG_8192C(a, B, C, d, E);
    |
    -	DBG_8192C(a, B, c, D, E);
    |
    -	DBG_8192C(a, b, C, D, E);
    |
    -	DBG_8192C(a, B, C, D, E);
    |
    -	DBG_8192C(a, b, c, d, e, f);
    |
    -	DBG_8192C(a, b, c, d, e, f, g);
    |
    -	DBG_8192C(a, b, c, d, e, f, g, h);
    |
    -	DBG_8192C(a, b, c, d, e, f, g, h, i);
    |
    -	DBG_8192C(a, b, c, d, e, f, g, h, i, j);
    |
    -	DBG_8192C(a, b, c, d, e, f, g, h, i, j, k);
    )
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/9b338b3781e40c04104f26832add075e7f72d890.1618064274.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 11, 2021
  27. staging: mt7621-pci: stop using of_pci_range_to_resource

    The logic here was already overriding the erroneous IO addresses
    returned from of_pci_range_to_resource, which is the bulk of the logic.
    
    So stop using it altogether and initialize the fields explicitly, as
    done in aeba373 ("powerpc/pci: Fix IO space breakage after
    of_pci_range_to_resource() change").
    
    Cc: Sergio Paracuellos <sergio.paracuellos@gmail.com>
    Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
    Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
    Link: https://lore.kernel.org/r/20210410173331.57949-1-ilya.lipnitskiy@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    lipnitsk authored and gregkh committed Apr 11, 2021
  28. staging: rtl8723bs: core: Remove an unused variable

    Delete local variable "u8 sec_idx" because is declared and set, but never
    used.
    
    Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
    Link: https://lore.kernel.org/r/20210410150008.5460-4-fmdefrancesco@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    xp4ns3 authored and gregkh committed Apr 11, 2021
  29. staging: rtl8192e: Fix incorrect pointer check

    In commit 92172da ("staging: rtl8192e: replace comparison to NULL
    by bool") a check was changed from looking at the data to the pointer,
    which was incorrect, so revert that portion of the commit to have the
    proper logic restored.
    
    Reported-by: Julia Lawall <julia.lawall@inria.fr>
    Signed-off-by: Mitali Borkar <mitaliborkar810@gmail.com>
    Fixes: 92172da ("staging: rtl8192e: replace comparison to NULL by bool")
    Link: https://lore.kernel.org/r/YHG8qARLUX2KPWwI@kali
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    M810-B authored and gregkh committed Apr 11, 2021

Commits on Apr 10, 2021

  1. staging: comedi: tests: ni_routes_test: Remove unused variable 'oldde…

    …vroutes'
    
    GCC reports the following warning with W=1:
    
    drivers/staging/comedi/drivers/tests/ni_routes_test.c:215:45: warning:
     variable 'olddevroutes' set but not used [-Wunused-but-set-variable]
      215 |  const struct ni_device_routes *devroutes, *olddevroutes;
          |                                             ^~~~~~~~~~~~
    
    This variable is not used in function , this commit
    remove it to fix the warning.
    
    Reported-by: Hulk Robot <hulkci@huawei.com>
    Signed-off-by: Qiheng Lin <linqiheng@huawei.com>
    Link: https://lore.kernel.org/r/20210410064932.12905-1-linqiheng@huawei.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ATRiiX authored and gregkh committed Apr 10, 2021
  2. staging: ralink-gdma: Add missing MODULE_DEVICE_TABLE

    This patch adds missing MODULE_DEVICE_TABLE definition which generates
    correct modalias for automatic loading of this driver when it is built
    as an external module.
    
    Reported-by: Hulk Robot <hulkci@huawei.com>
    Signed-off-by: Bixuan Cui <cuibixuan@huawei.com>
    Link: https://lore.kernel.org/r/20210410035037.11322-1-cuibixuan@huawei.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Bixuan Cui authored and gregkh committed Apr 10, 2021
  3. staging: rtl8192e: remove unnecesasry f-trace like logging

    Fixed Check: Remove unnecessary f-trace like logging by simply deleting
    that statement as we have other modes of logging like ftrace.
    Reported by checkpatch.
    
    Signed-off-by: Mitali Borkar <mitaliborkar810@gmail.com>
    Link: https://lore.kernel.org/r/YHDtWizzh5EVLL4/@kali
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    M810-B authored and gregkh committed Apr 10, 2021
  4. staging: rtl8192e: replace comparison to NULL by bool

    Fixed Comparison to NULL can be written as '!...' by replacing it with
    simpler form i.e boolean expression. This makes code more readable alternative.
    Reported by checkpatch.
    
    Signed-off-by: Mitali Borkar <mitaliborkar810@gmail.com>
    Link: https://lore.kernel.org/r/YHDnWpWztxeZospi@kali
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    M810-B authored and gregkh committed Apr 10, 2021
  5. staging: rtl8723bs: remove redundant initialization

    The variable ret is being initialized as 0 and is never used until
    it's updated by sdio_register_driver()
    
    This removes the redundant initialization of ret
    
    Signed-off-by: Bryan Brattlof <hello@bryanbrattlof.com>
    Link: https://lore.kernel.org/r/20210409201235.407671-1-hello@bryanbrattlof.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    bryanbrattlof authored and gregkh committed Apr 10, 2021

Commits on Apr 9, 2021

  1. staging: rtl8723bs: remove MSG_8192C macro definitions

    remove obsolete MSG_8192C macro definitions.
    
    MSG_8192C is a private trace mechanism macro and is deactivated.
    (i.e. the default behaviour is _do nothing_)
    The only way to activate it is to manually define a debug
    symbol.
    
    So just remove it.
    
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/97f38f269e8dabb3dd7464d49022a62cd9773657.1617971593.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fabio Aiuto authored and gregkh committed Apr 9, 2021
Older