Browse Source

Revert "ARM: OMAP: Catch callers of revision information prior to it being populated"

This reverts commit 571afb4c8a4bbe88541364e7f6827340562f2736.
Tony Lindgren 9 years ago
parent
commit
3d51ae172d
2 changed files with 0 additions and 2 deletions
  1. 0 1
      arch/arm/mach-omap1/id.c
  2. 0 1
      arch/arm/mach-omap2/id.c

+ 0 - 1
arch/arm/mach-omap1/id.c

@@ -65,7 +65,6 @@ static struct omap_id omap_ids[] __initdata = {
 
 unsigned int omap_rev(void)
 {
-	WARN_ON_ONCE(!omap_revision || omap_revision == -1);
 	return omap_revision;
 }
 EXPORT_SYMBOL(omap_rev);

+ 0 - 1
arch/arm/mach-omap2/id.c

@@ -46,7 +46,6 @@ u32 omap_features;
 
 unsigned int omap_rev(void)
 {
-	WARN_ON_ONCE(!omap_revision || omap_revision == -1);
 	return omap_revision;
 }
 EXPORT_SYMBOL(omap_rev);