From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753228AbbCQM7y (ORCPT ); Tue, 17 Mar 2015 08:59:54 -0400 Received: from mail-la0-f41.google.com ([209.85.215.41]:34651 "EHLO mail-la0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752520AbbCQM7x (ORCPT ); Tue, 17 Mar 2015 08:59:53 -0400 From: Alexander Kuleshov To: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Andrew Morton , Borislav Petkov Cc: linux-kernel@vger.kernel.org Subject: [PATCH RFC] remove pointless early_printk call in x86/kernel/head64.c Date: Tue, 17 Mar 2015 18:59:43 +0600 Message-Id: <1426597183-4724-1-git-send-email-kuleshovmail@gmail.com> X-Mailer: git-send-email 2.3.3.472.g20ceeac.dirty Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is the call of the early_printk function in the x86/kernel/head64.c, but if i understand correctly early_printk initialized by setup_early_printk which is early_param, but early_param initialized only in the init/main.c in the do_early_param function. So early_printk from the x86/kernel/head64.c will not print anything in any case. Alexander Kuleshov (1): x86/head64.c: remove pointless early_printk call arch/x86/kernel/head64.c | 3 --- 1 file changed, 3 deletions(-) -- 2.3.3.472.g20ceeac.dirty