Just answered my own question! From Movie Speak by Tony Bill:
... barney appears to have been derived from the popular cartoon strip Barney Google, created in 1919. Barney Google, a sportsman involved in horse racing and boxing, had a horse named Spark Plug who was typically seen almost totally covered by his horse blanket.