From patchwork Sat Aug 7 03:30:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Toppins X-Patchwork-Id: 12424107 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26BEFC4338F for ; Sat, 7 Aug 2021 03:31:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 06D3460F70 for ; Sat, 7 Aug 2021 03:31:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230409AbhHGDb3 (ORCPT ); Fri, 6 Aug 2021 23:31:29 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:45768 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230236AbhHGDbZ (ORCPT ); Fri, 6 Aug 2021 23:31:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1628307068; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=xTZ6nnfDg5SLxfzo7CSr56OTmTl6Ayl69N1Ny1XZvVk=; b=DwN4VKN6hl7SEhz+heiBXeGyNQDe18jc6tDYKd+Jzs4uS3J0b/C+UINs8bOyPzNx0oWB18 ujKIdY323cpVcbcipYL8Wr3ovmfPgoxcc+O/NiXpDDxlUQbZ1EQGn+b7qKEGCluEUnZRLg 4p+SUryARG1guYqQhLAB3yGhDJ5y/3Y= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-462-_y7MjwM7O5Gh6hEjPBfI2Q-1; Fri, 06 Aug 2021 23:31:06 -0400 X-MC-Unique: _y7MjwM7O5Gh6hEjPBfI2Q-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2EE76871803 for ; Sat, 7 Aug 2021 03:31:06 +0000 (UTC) Received: from jtoppins.rdu.csb (unknown [10.22.8.31]) by smtp.corp.redhat.com (Postfix) with ESMTP id D7DBA19C59 for ; Sat, 7 Aug 2021 03:31:05 +0000 (UTC) From: Jonathan Toppins To: netdev@vger.kernel.org Subject: [PATCH net-next 0/2] bonding: cleanup header file and error msgs Date: Fri, 6 Aug 2021 23:30:53 -0400 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Two small patches removing unreferenced symbols and unifying error messages across netlink and printk. Signed-off-by: Jonathan Toppins Jonathan Toppins (2): bonding: remove extraneous definitions from bonding.h bonding: combine netlink and console error messages drivers/net/bonding/bond_main.c | 45 ++++++++++++++++++--------------- include/net/bonding.h | 12 --------- 2 files changed, 25 insertions(+), 32 deletions(-)