From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752569AbdGFEYL (ORCPT ); Thu, 6 Jul 2017 00:24:11 -0400 Received: from ozlabs.org ([103.22.144.67]:47987 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750977AbdGFEYK (ORCPT ); Thu, 6 Jul 2017 00:24:10 -0400 Date: Thu, 6 Jul 2017 14:24:07 +1000 From: Stephen Rothwell To: Alexandre Belloni Cc: Linux-Next Mailing List , Linux Kernel Mailing List , Heiner Kallweit Subject: linux-next: build warning after merge of the rtc tree Message-ID: <20170706142407.71e3b513@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alexandre, After merging the rtc tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: drivers/rtc/rtc-ds1307.c: In function 'ds1307_get_time': drivers/rtc/rtc-ds1307.c:342:26: warning: unused variable 'chip' [-Wunused-variable] const struct chip_desc *chip = &chips[ds1307->type]; ^ Introduced by commit 436c93db60a4 ("rtc: ds1307: factor out century bit handling") -- Cheers, Stephen Rothwell