summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2023-05-31 22:41:32 +0200
committerJakub Kicinski <kuba@kernel.org>2023-06-01 21:39:39 -0700
commit733b3e27650b1bbce3c21fcfdb4fca22063efd66 (patch)
tree1dd5e39efe61432d27a97485e50f8203082cf904 /net/lapb/lapb_timer.c
parentb345b2a6cb96583aa695226cb8961803dbbdd27c (diff)
r8169: use dev_err_probe in all appropriate places in rtl_init_one()
In addition to properly handling probe deferrals dev_err_probe() conveniently combines printing an error message with returning the errno. So let's use it for every error path in rtl_init_one() to simplify the code. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Link: https://lore.kernel.org/r/f0596a19-d517-e301-b649-304f9247b75a@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions