is this typical wall framing?
If its parallel to the joist, you can be pretty sure its not holding anything up other than the 2x6. I'd guess the purpose of the 2x6 is probably there for the edges of the ceiling to be nailed to.