The main, overriding rule/goal of SE Q&As is: * **The Q&A should be useful for future readers** All other rules - one concern per question, self-contained, reasonable scope, no drastic topic/focus changes etc - are corollaries. Deleting irrelevant info only helps that goal, so that's completely okay. Do make sure that it really is irrelevant though.