Walking does not affect others so it is okay in public.
Of the below sentences, which one does *not* make sense?

(a) "smoking is not allowed in public places."
(b) "walking is not allowed in public places."